mirror of https://github.com/gogs/gogs.git
parent
ee59016585
commit
2ca668e79e
|
@ -242,7 +242,7 @@ func RepoAssignment(args ...bool) macaron.Handler {
|
|||
|
||||
tags, err := ctx.Repo.GitRepo.GetTags()
|
||||
if err != nil {
|
||||
ctx.Handle(500, "GetTags", err)
|
||||
ctx.Handle(500, fmt.Sprintf("GetTags '%d'", ctx.Repo.Repository.RepoPath()), err)
|
||||
return
|
||||
}
|
||||
ctx.Data["Tags"] = tags
|
||||
|
|
|
@ -55,7 +55,7 @@ func Releases(ctx *context.Context) {
|
|||
|
||||
rawTags, err := ctx.Repo.GitRepo.GetTags()
|
||||
if err != nil {
|
||||
ctx.Handle(500, "GetTags", err)
|
||||
ctx.Handle(500, fmt.Sprintf("GetTags '%d'", ctx.Repo.Repository.RepoPath()), err)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue