diff --git a/app/main.py b/app/main.py index eb54cf3..3d56e89 100644 --- a/app/main.py +++ b/app/main.py @@ -129,7 +129,7 @@ async def error_stream(err_msg): status_code=400, content=error_json ) - except: + except Exception: pass # 如果是流式请求,返回流式错误响应 if body.get("stream", True):