ernestio / ernest

Ernest is a tool to define, manage and collaborate on your infrastructure
http://ernest.io/
Mozilla Public License 2.0
17 stars 6 forks source link

api-gateway : always return errors as json #869

Closed purehyperbole closed 6 years ago

purehyperbole commented 6 years ago

currently the api gateway is mixing plaintext and json responses. We should standardize all error responses as

{
  "error": "SOME MESSAGE"
}