mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-06-28 05:25:11 +00:00
Return on error
This commit is contained in:
@ -24,6 +24,7 @@ func (a *App) HostLogs(hostKey, filter string) (result HostLogsResult) {
|
||||
if err != nil {
|
||||
runtime.LogWarningf(a.ctx, "Could not get %s logs for %s: %s", filter, hostKey, err.Error())
|
||||
result.Error = err.Error()
|
||||
return
|
||||
}
|
||||
|
||||
if res["totalLinesWritten"] != nil {
|
||||
|
Reference in New Issue
Block a user