0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 16:44:40 +01:00

No error log entries for repo 404 (#2200)

This commit is contained in:
Ethan Koenig 2017-08-19 05:32:18 -07:00 committed by Lauris BH
parent 5707ad3bb7
commit e7653a67a1

View file

@ -184,7 +184,7 @@ func RepoAssignment() macaron.Handler {
earlyResponseForGoGetMeta(ctx)
return
}
ctx.Handle(404, "GetUserByName", err)
ctx.Handle(404, "GetUserByName", nil)
} else {
ctx.Handle(500, "GetUserByName", err)
}
@ -206,7 +206,7 @@ func RepoAssignment() macaron.Handler {
earlyResponseForGoGetMeta(ctx)
return
}
ctx.Handle(404, "GetRepositoryByName", err)
ctx.Handle(404, "GetRepositoryByName", nil)
} else {
ctx.Handle(500, "LookupRepoRedirect", err)
}