summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-28 00:13:05 +0800
committerslene <vslene@gmail.com>2014-03-28 00:14:09 +0800
commit16cb1e974ca2e34384cd7882886f46f860ea5640 (patch)
tree2ab1948d58d5a8bf7f26d240f6ae1e76b0d0d746 /routers
parent677643b812cdc3bce3b7ef7839239b3059376684 (diff)
downloadgitea-16cb1e974ca2e34384cd7882886f46f860ea5640.tar.gz
gitea-16cb1e974ca2e34384cd7882886f46f860ea5640.zip
print err
Diffstat (limited to 'routers')
-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
}