Skip to content

Commit

Permalink
No error log entries for repo 404 (#2200)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethantkoenig authored and lafriks committed Aug 19, 2017
1 parent 5707ad3 commit e7653a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/context/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down

0 comments on commit e7653a6

Please sign in to comment.