fix: replace 9 bare excepts with except Exception
This commit is contained in:
@@ -31,7 +31,7 @@ def clean_json_response(text: str) -> str:
|
||||
json.loads(text)
|
||||
logger.debug(f"✅ 直接解析成功,无需清洗")
|
||||
return text
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# 找到第一个 { 或 [
|
||||
|
||||
Reference in New Issue
Block a user