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:
2
alas.py
2
alas.py
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user