summaryrefslogtreecommitdiffstats
path: root/modules/context
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context')
-rw-r--r--modules/context/repo.go4
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)
}