print err
This commit is contained in:
parent
677643b812
commit
16cb1e974c
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue