mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 07:28:21 +08:00
Add: notify when GameNotRunningError
This commit is contained in:
5
alas.py
5
alas.py
@@ -78,6 +78,11 @@ class AzurLaneAutoScript:
|
||||
return True
|
||||
except GameNotRunningError as e:
|
||||
logger.warning(e)
|
||||
handle_notify(
|
||||
self.config.Error_OnePushConfig,
|
||||
title=f"Alas <{self.config_name}> crashed",
|
||||
content=f"<{self.config_name}> GameNotRunningError",
|
||||
)
|
||||
self.config.task_call('Restart')
|
||||
return True
|
||||
except (GameStuckError, GameTooManyClickError) as e:
|
||||
|
||||
Reference in New Issue
Block a user