forgejo/modules
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
..
analyze
auth
avatar
base
cache
charset
context Return json on 500 error from API (#11574) 2020-05-28 13:58:11 -03:00
convert
cron
emoji
eventsource
generate
git
gitgraph
graceful
highlight
httplib
indexer
lfs
log
markup
metrics
migrations
notification
options
password
pprof
private
process
public
queue
recaptcha
references
repofiles
repository
secret
session
setting Use -1 to disable key algorithm type in ssh.minimum_key_sizes (#11635) 2020-05-28 16:29:15 +03:00
ssh
structs
sync
task
templates
test
timeutil
upload
user
util
validation
webhook