mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Add: notify when GameNotRunningError
This commit is contained in:
parent
6da909089b
commit
0624c992e3
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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user