mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Backport #24344 by @yp05327 Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
		@@ -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