Browse Source

No error log entries for repo 404 (#2200)

tags/v1.21.12.1
Ethan Koenig Lauris BH 8 years ago
parent
commit
e7653a67a1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/context/repo.go

+ 2
- 2
modules/context/repo.go 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)
}


Loading…
Cancel
Save