1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-05 22:08:14 +00:00
Files
gitea/modules/context/api.go
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 8467b2cee6.

* InternalServerError

Co-authored-by: zeripath <art27@cantab.net>
2020-05-28 13:58:11 -03:00

6.3 KiB