0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 00:44:15 -05:00
forgejo/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 Prevent redirect to Host (#9678) 2020-01-09 16:34:25 -05:00
org.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
pagination.go
panic.go
permission.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 2019-12-24 00:11:12 +00:00
repo.go Allow unauthenticated users to compare (#11240) 2020-05-04 19:44:30 -03:00