diff options
author | Antoine GIRARD <sapk@users.noreply.github.com> | 2018-01-09 19:40:05 +0100 |
---|---|---|
committer | Andrey Nering <andrey.nering@gmail.com> | 2018-01-09 16:40:05 -0200 |
commit | 84feb016f5934d271bd00f965841072e56e580e3 (patch) | |
tree | 2d9cc20c542097ff6fa1cc9a8f94f767d39f6ea8 /routers/user | |
parent | e7295f27a9133efc50ceb8f75c1233489868a091 (diff) | |
download | gitea-84feb016f5934d271bd00f965841072e56e580e3.tar.gz gitea-84feb016f5934d271bd00f965841072e56e580e3.zip |
Remove useless fmt.Errorf("%v", err) (#3337)
Diffstat (limited to 'routers/user')
-rw-r--r-- | routers/user/home.go | 2 |
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 } |