diff options
author | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2021-04-03 18:41:01 +0300 |
---|---|---|
committer | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2021-04-03 18:41:01 +0300 |
commit | 9c1fe2c1ae1e6f7578f6ebe29091bbba3dd25953 (patch) | |
tree | f58e148d77a8aaa1fa16398d7dea909ba12cbf75 | |
parent | 5092ddea7512cf6121a5b4df1a5618d129709efe (diff) |
changed log message to use LogError()
-rwxr-xr-x | ui/HttpRequestTestWindow.go | 2 | ||||
-rwxr-xr-x | ui/ui.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/HttpRequestTestWindow.go b/ui/HttpRequestTestWindow.go index e4bc00b..2fb3084 100755 --- a/ui/HttpRequestTestWindow.go +++ b/ui/HttpRequestTestWindow.go @@ -135,7 +135,7 @@ func (this *HttpRequestTestWindow) sdNotify(state string) { _, err := daemon.SdNotify(false, state) if err != nil { - logger.Errorf("sdNotify()", "SdNotify()", err) + logger.LogError("sdNotify()", "daemon.SdNotify()", err) logger.TraceLeave("sdNotify()") return } @@ -164,7 +164,7 @@ func (this *UI) verifyConnection() { logger.Debug("ui.verifyConnection() - ConnectionRequest.Do() succeeded") jsonResponse, err := utils.StructToJson(connectionResponse) if err != nil { - logger.Debug("ui.verifyConnection() - utils.StructToJson() failed") + logger.LogError("ui.verifyConnection()", "utils.StructToJson()", err) } else { logger.Debugf("ui.verifyConnection() - connectionResponse is: %s", jsonResponse) } |