0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 19:18:52 +01:00
gitea/routers
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
..
api/v1 Fix NPE on try to get tag reference via API (#18245) 2022-01-12 20:37:46 +00:00
common
install
private Return nicer error if trying to pull from non-existent user (#18288) 2022-01-16 11:44:11 +08:00
utils
web Webauthn nits (#18284) 2022-01-15 17:52:56 +01:00
init.go