neomad-team / neomad.org

Platform for nomad workers.
https://neomad.org
15 stars 4 forks source link

Fix error page with wrong error code #334

Closed mlbiche closed 4 years ago

mlbiche commented 4 years ago

When the API raise an error, the error page error.html is rendered with the error code displayed. However, if we check the full response received : indeed, the data contains the error.html content, but the response code is 200 and not the expected error code.

An example of error page with the wrong error code