routing-controllers icon indicating copy to clipboard operation
routing-controllers copied to clipboard

UnauthorizedError Not returning correct status code

Open sslgeorge opened this issue 6 years ago • 1 comments

Used the UnauthorizedError exception in my controller, it returns the correct error message, but the status code is wrong, returns 200 instead of 404

sslgeorge avatar Mar 10 '18 18:03 sslgeorge

The same here but with BadRequestError image

zaikin-andrew avatar Mar 16 '18 21:03 zaikin-andrew