0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 11:24:35 +01:00
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 8467b2cee6.

* InternalServerError

Co-authored-by: zeripath <art27@cantab.net>
2020-05-28 13:58:11 -03:00
..
api.go Return json on 500 error from API (#11574) 2020-05-28 13:58:11 -03:00
api_org.go
api_test.go
auth.go When must change password only show Signout (#11600) 2020-05-26 23:39:39 +01:00
context.go
org.go
pagination.go
panic.go
permission.go
repo.go