Update login.py

This commit is contained in:
zhao-zg 2024-07-30 11:36:49 +08:00 committed by GitHub
parent 848c1f8abb
commit 8880dc5a0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -389,12 +389,11 @@ async def loginPassword(chromium_path, workList, uid, headless):
await asyncio.sleep(1)
except Exception as e:
continue
print("异常退出")
print(e)
await browser.close()
raise e
print("任务完成退出")
await browser.close()