diff --git a/api/api.go b/api/api.go index 1c73f027..4757a647 100644 --- a/api/api.go +++ b/api/api.go @@ -531,7 +531,7 @@ func respondError(w http.ResponseWriter, apiErr apiError, data interface{}) { if err != nil { return } - log.Errorf("api error: %s", apiErr) + log.Errorf("api error: %v", apiErr.Error()) w.Write(b) }