mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-06 23:57:50 +08:00
Update to v2.10.0
This commit is contained in:
@@ -5,7 +5,7 @@ from core.error import ArcError
|
||||
from flask import current_app, jsonify
|
||||
from setting import Config
|
||||
|
||||
default_error = ArcError('Unknown Error')
|
||||
default_error = ArcError('Unknown Error', status=500)
|
||||
|
||||
|
||||
def error_return(e: ArcError = default_error): # 错误返回
|
||||
|
||||
Reference in New Issue
Block a user