1
1
mirror of https://github.com/go-gitea/gitea synced 2025-02-02 04:54:34 +00:00
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
..
2020-04-05 07:20:50 +01:00
2020-04-05 07:20:50 +01:00
2020-04-05 07:20:50 +01:00
2020-04-05 07:20:50 +01:00