mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Backport #24344 by @yp05327 Co-authored-by: yp05327 <[email protected]>
This commit is contained in:
co-authored by
GitHub
yp05327
parent
912a418920
commit
af5d66b341
@@ -337,7 +337,7 @@ func RepoRefForAPI(next http.Handler) http.Handler {
|
||||
if git.IsErrNotExist(err) {
|
||||
ctx.NotFound()
|
||||
} else {
|
||||
ctx.Error(http.StatusInternalServerError, "GetBlobByPath", err)
|
||||
ctx.Error(http.StatusInternalServerError, "GetCommit", err)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user