summaryrefslogtreecommitdiffstats
path: root/routers/user/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/home.go')
-rw-r--r--routers/user/home.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 01a1068134..9d42bb0ae6 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -310,7 +310,7 @@ func Issues(ctx *context.Context) {
showRepos := models.RepositoryListOfMap(showReposMap)
sort.Sort(showRepos)
if err = showRepos.LoadAttributes(); err != nil {
- ctx.Handle(500, "LoadAttributes", fmt.Errorf("%v", err))
+ ctx.Handle(500, "LoadAttributes", err)
return
}