mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Refactor error system (#33626)
This commit is contained in:
		| @@ -44,7 +44,7 @@ func UserIDAssignmentAPI() func(ctx *APIContext) { | ||||
| 				if user_model.IsErrUserNotExist(err) { | ||||
| 					ctx.APIError(http.StatusNotFound, err) | ||||
| 				} else { | ||||
| 					ctx.APIError(http.StatusInternalServerError, err) | ||||
| 					ctx.APIErrorInternal(err) | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user