6543 9f55769804
Return json on 500 error from API (#11574)
* add API specific InternalServerError()

Co-authored-by: zeripath <art27@cantab.net>

* return 500 error msg only if not Production mode

* Revert "return 500 error msg only if not Production mode"

This reverts commit 8467b2cee674ad205b452780ca88abb1b27643c8.

* InternalServerError

Co-authored-by: zeripath <art27@cantab.net>
2020-05-28 13:58:11 -03:00
..
2016-11-25 14:53:59 +08:00
2019-06-26 16:51:32 +08:00
2020-01-09 16:34:25 -05:00
2020-01-24 14:00:29 -05:00
2019-08-23 12:40:29 -04:00
2019-08-23 12:40:29 -04:00