summaryrefslogtreecommitdiffstats
path: root/routers/repo/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r--routers/repo/commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index 11aab67caa..4a126d236b 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -37,7 +37,7 @@ func Commits(ctx *middleware.Context, params martini.Params) {
}
if err != nil {
- ctx.Handle(404, "repo.Commits", nil)
+ ctx.Handle(404, "repo.Commits", err)
return
}