1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 01:38:21 +08:00

Opt: Save logs if catching GameTooManyClickError

This commit is contained in:
LmeSzinc
2020-12-30 20:57:01 +08:00
parent 8ca0205c40
commit 29298e0db4

View File

@@ -35,9 +35,9 @@ class AzurLaneAutoScript:
continue
except GameTooManyClickError as e:
logger.warning(e)
self.save_error_log()
az = LoginHandler(self.config, device=self.device)
az.app_restart()
az.ensure_no_unfinished_campaign()
az.handle_game_stuck()
continue
except GameStuckError as e:
logger.warning(e)