mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-06 02:05:25 +08:00
Fix: Notify handle more error (#1664)
This commit is contained in:
5
alas.py
5
alas.py
@@ -501,6 +501,11 @@ class AzurLaneAutoScript:
|
||||
logger.critical("Possible reason #2: There is a problem with this task. "
|
||||
"Please contact developers or try to fix it yourself.")
|
||||
logger.critical('Request human takeover')
|
||||
handle_notify(
|
||||
self.config.Error_OnePushConfig,
|
||||
title=f"Alas <{self.config_name}> crashed",
|
||||
content=f"<{self.config_name}> RequestHumanTakeover\nTask `{task}` failed 3 or more times.",
|
||||
)
|
||||
exit(1)
|
||||
|
||||
if success:
|
||||
|
||||
Reference in New Issue
Block a user