Return HTTP errors on errors
lastlegion opened this issue · comments
Ganesh Iyer commented
Currently the backend server returns a JSON error
object on errors, but the HTTP status code is 200.
Should use something like res.status(500).send({ error: 'Error message' })
instead
Ganesh Iyer commented
Done.