Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return json on 500 error from API (#11574) #11660

Merged

Commits on May 28, 2020

  1. Return json on 500 error from API (go-gitea#11574)

    * add API specific InternalServerError()
    
    Co-authored-by: zeripath <[email protected]>
    
    * return 500 error msg only if not Production mode
    
    * Revert "return 500 error msg only if not Production mode"
    
    This reverts commit 8467b2c.
    
    * InternalServerError
    
    Co-authored-by: zeripath <[email protected]>
    6543 and zeripath committed May 28, 2020
    Configuration menu
    Copy the full SHA
    0b2c110 View commit details
    Browse the repository at this point in the history