diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-08-19 05:32:18 -0700 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-08-19 15:32:18 +0300 |
commit | e7653a67a10483aa0e2c9cc019abe9021e8df9ce (patch) | |
tree | 891643e5307647664028a1dbf20df187cedf99a8 /modules | |
parent | 5707ad3bb72179e90adea16174102303564a22a9 (diff) | |
download | gitea-e7653a67a10483aa0e2c9cc019abe9021e8df9ce.tar.gz gitea-e7653a67a10483aa0e2c9cc019abe9021e8df9ce.zip |
No error log entries for repo 404 (#2200)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/context/repo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/context/repo.go b/modules/context/repo.go index 897cd3ca1a..db643b50b8 100644 --- a/modules/context/repo.go +++ b/modules/context/repo.go @@ -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) } |