0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 21:26:25 +01:00
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 Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
hook_post_receive.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
hook_pre_receive.go Fix various typos (#18219) 2022-01-10 17:32:37 +08:00
hook_proc_receive.go
hook_verification.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
internal_repo.go
internal.go
key.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
mail.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
manager_unix.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
manager_windows.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
manager.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
restore_repo.go
serv.go Return nicer error if trying to pull from non-existent user (#18288) 2022-01-16 11:44:11 +08:00
ssh_log.go