index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
modules
/
context
/
repo.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Unknwon <u@gogs.io>
2017-02-10 17:11:46 -0500
committer
Unknwon <u@gogs.io>
2017-02-10 17:11:46 -0500
commit
2ca668e79ebe953957d3bcf802cd0a8ed3657b8d
(
patch
)
tree
f2a86509c04f138a18da34d389707ecac2f2902a
/
modules/context/repo.go
parent
ee5901658547fb07becf9821bbf10860d8642fd2
(
diff
)
Add more details on error report
[CI SKIP]
Diffstat
(limited to 'modules/context/repo.go')
-rw-r--r--
modules/context/repo.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/repo.go b/modules/context/repo.go
index b72d19ec..8320afab 100644
--- a/
modules/context/repo.go
+++ b/
modules/context/repo.go
@@ -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