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

Fix: Confirm unknown ui page; 5 seconds timeout (#956)

This commit is contained in:
LmeSzinc
2022-03-07 21:55:11 +08:00
parent 526d85bf14
commit dbfbd294ff
6 changed files with 93 additions and 39 deletions

View File

@@ -77,6 +77,10 @@ class AzurLaneAutoScript:
self.config.task_call('Restart')
self.device.sleep(10)
return False
except GamePageUnknownError:
logger.critical('Game page unknown')
self.save_error_log()
exit(1)
except ScriptError as e:
logger.critical(e)
logger.critical('This is likely to be a mistake of developers, but sometimes just random issues')