Skip to content

Commit e7653a6

Browse files
ethantkoeniglafriks
authored andcommitted
No error log entries for repo 404 (#2200)
1 parent 5707ad3 commit e7653a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/context/repo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func RepoAssignment() macaron.Handler {
184184
earlyResponseForGoGetMeta(ctx)
185185
return
186186
}
187-
ctx.Handle(404, "GetUserByName", err)
187+
ctx.Handle(404, "GetUserByName", nil)
188188
} else {
189189
ctx.Handle(500, "GetUserByName", err)
190190
}
@@ -206,7 +206,7 @@ func RepoAssignment() macaron.Handler {
206206
earlyResponseForGoGetMeta(ctx)
207207
return
208208
}
209-
ctx.Handle(404, "GetRepositoryByName", err)
209+
ctx.Handle(404, "GetRepositoryByName", nil)
210210
} else {
211211
ctx.Handle(500, "LookupRepoRedirect", err)
212212
}

0 commit comments

Comments
 (0)