1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-02 15:21:14 +08:00

Fix: Handle game error none4302 when starting a new guild operation

This commit is contained in:
LmeSzinc
2022-02-12 17:30:08 +08:00
parent f8800d2567
commit 5f3c583c52
4 changed files with 23 additions and 6 deletions

View File

@@ -68,9 +68,11 @@ class AzurLaneAutoScript:
self.config.task_call('Restart')
self.device.sleep(10)
return False
except LogisticsRefreshBugHandler as e:
except GameBugError as e:
logger.warning(e)
self.save_error_log()
logger.warning('An error has occurred in Azur Lane game client, Alas is unable to handle')
logger.warning(f'Restarting {self.config.Emulator_PackageName} to fix it')
self.config.task_call('Restart')
self.device.sleep(10)
return False