0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-04 21:29:12 +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.go
internal_repo.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
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.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
restore_repo.go Move migrations into services and base into modules/migration (#17663) 2021-11-16 23:25:33 +08:00
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