[API] on 500 error only show message if gitea in dev mode (#11641)
* add API specific InternalServerError() * return 500 error msg only if not Production mode * rm unnessesary changetokarchuk/v1.17
parent
19aab76853
commit
ce7510a80f
Loading…
Reference in new issue