diff --git a/pkg/http/errors.go b/pkg/http/errors.go index ef4e4b4..eec2c25 100644 --- a/pkg/http/errors.go +++ b/pkg/http/errors.go @@ -24,7 +24,7 @@ func (hpe *httpProxyError) Error() string { func (hpe *httpProxyError) MarshalJSON() ([]byte, error) { return json.Marshal(struct { - Error string `json:"error"` + Error string `json:"message"` }{ Error: hpe.err.Error(), })