mirror of
https://codeberg.org/forgejo-aneksajo/forgejo-aneksajo.git
synced 2025-04-22 14:16:44 +02:00
Backport #24344 by @yp05327
Co-authored-by: yp05327 <576951401@qq.com>
(cherry picked from commit af5d66b341
)
This commit is contained in:
parent
b67b51d0bb
commit
d3f3924164
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue