xiaoyukkkk commited on
Commit
d95d30f
·
verified ·
1 Parent(s): 6eedec1

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -1621,7 +1621,7 @@ async def chat(
1621
 
1622
  break
1623
 
1624
- except (httpx.ConnectError, httpx.ReadTimeout, ssl.SSLError, HTTPException) as e:
1625
  # 记录当前失败的账户
1626
  failed_accounts.add(account_manager.config.account_id)
1627
 
 
1621
 
1622
  break
1623
 
1624
+ except (httpx.HTTPError, ssl.SSLError, HTTPException) as e:
1625
  # 记录当前失败的账户
1626
  failed_accounts.add(account_manager.config.account_id)
1627