0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 08:54:17 -05:00
forgejo/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