diff options
Diffstat (limited to 'octoprintApis/client.go')
-rwxr-xr-x | octoprintApis/client.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/octoprintApis/client.go b/octoprintApis/client.go index 9ba28b7..b23d4c4 100755 --- a/octoprintApis/client.go +++ b/octoprintApis/client.go @@ -177,9 +177,9 @@ func (this *Client) handleResponse( } if httpResponse.StatusCode >= 200 && httpResponse.StatusCode <= 209 { - logger.Debugf("Client.handleResponse() - status code %q was within range", httpResponse.StatusCode) + logger.Debugf("Client.handleResponse() - status code %d was within range", httpResponse.StatusCode) } else { - errMsg := fmt.Sprintf("unexpected status code: %q", httpResponse.StatusCode) + errMsg := fmt.Sprintf("unexpected status code: %d", httpResponse.StatusCode) logOptionalMessage(errMsg, isRequired) err = fmt.Errorf(errMsg) body = nil |