diff --git a/updates/api.go b/updates/api.go index 88513b3a..57b75a3c 100644 --- a/updates/api.go +++ b/updates/api.go @@ -139,7 +139,7 @@ func registerAPIEndpoints() error { // If we could not convert to acceptable format, return an error. if !converted { - http.Error(w, err.Error(), http.StatusNotAcceptable) + http.Error(w, "conversion to requested format not supported", http.StatusNotAcceptable) return } }