gitea/modules/context
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
..
api_org.go
api_test.go
api.go Return json on 500 error from API (#11574) 2020-05-28 13:58:11 -03:00
auth.go
context.go
org.go
pagination.go
panic.go
permission.go
repo.go