gitea/routers/private
zeripath 4b4884ce88
Return nicer error if trying to pull from non-existent user (#18288)
* 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 #18225
2022-01-16 11:44:11 +08:00
..
default_branch.go
hook_post_receive.go
hook_pre_receive.go
hook_proc_receive.go
hook_verification.go
internal.go
internal_repo.go
key.go
mail.go
manager.go
manager_unix.go
manager_windows.go
restore_repo.go
serv.go
ssh_log.go