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 nicer error if trying to pull from non-existent user #18288

Merged

Commits on Jan 15, 2022

  1. Return nicer error if trying to pull from non-existent user

    Gitea serv will currently return an 500 if we try to pull from a repository where
    the owner does not exist.
    
    This PR checks for the UserNotExist Error when checking for the user and will
    return a NotFound error instead.
    
    Fix go-gitea#18225
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    71e1e17 View commit details
    Browse the repository at this point in the history
  2. change log level

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    50c0c1e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d8d14b View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2022

  1. Configuration menu
    Copy the full SHA
    0ffc33c View commit details
    Browse the repository at this point in the history