Browse Source

Remove useless fmt.Errorf("%v", err) (#3337)

tags/v1.21.12.1
Antoine GIRARD Andrey Nering 8 years ago
parent
commit
84feb016f5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/user/home.go

+ 1
- 1
routers/user/home.go View File

@@ -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
}



Loading…
Cancel
Save