1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-19 23:33:33 +08:00

Fix: Catch server hot fix and restart game immediately

- Pretty Timer print
This commit is contained in:
LmeSzinc
2022-07-31 23:34:14 +08:00
parent db169546a9
commit 6702ec234a
4 changed files with 32 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ class AzurLaneAutoScript:
self.config.task_call('Restart')
return True
except (GameStuckError, GameTooManyClickError) as e:
logger.warning(e)
logger.error(e)
self.save_error_log()
logger.warning(f'Game stuck, {self.device.package} will be restarted in 10 seconds')
logger.warning('If you are playing by hand, please stop Alas')