mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 01:34:25 +00:00
Remove useless fmt.Errorf("%v", err) (#3337)
This commit is contained in:
parent
e7295f27a9
commit
84feb016f5
@ -310,7 +310,7 @@ func Issues(ctx *context.Context) {
|
|||||||
showRepos := models.RepositoryListOfMap(showReposMap)
|
showRepos := models.RepositoryListOfMap(showReposMap)
|
||||||
sort.Sort(showRepos)
|
sort.Sort(showRepos)
|
||||||
if err = showRepos.LoadAttributes(); err != nil {
|
if err = showRepos.LoadAttributes(); err != nil {
|
||||||
ctx.Handle(500, "LoadAttributes", fmt.Errorf("%v", err))
|
ctx.Handle(500, "LoadAttributes", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user