mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 22:01:44 +02:00
Backport #24344 by @yp05327 Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
1 parent
912a418920
commit
af5d66b341
1 file changed
+1
-1
@@ -337,7 +337,7 @@ func RepoRefForAPI(next http.Handler) http.Handler {
|
|||||||
if git.IsErrNotExist(err) {
|
if git.IsErrNotExist(err) {
|
||||||
ctx.NotFound()
|
ctx.NotFound()
|
||||||
} else {
|
} else {
|
||||||
ctx.Error(http.StatusInternalServerError, "GetBlobByPath", err)
|
ctx.Error(http.StatusInternalServerError, "GetCommit", err)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user