mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: [ALAS] Handle JobTimeout at the nemu ipc connection trials
This commit is contained in:
parent
9e256ce249
commit
ee6f360901
@ -486,7 +486,7 @@ class NemuIpc(Platform):
|
||||
instance_id=index,
|
||||
display_id=0
|
||||
).__enter__()
|
||||
except (NemuIpcIncompatible, NemuIpcError) as e:
|
||||
except (NemuIpcIncompatible, NemuIpcError, JobTimeout) as e:
|
||||
logger.error(e)
|
||||
logger.error('Emulator info incorrect')
|
||||
|
||||
@ -505,7 +505,7 @@ class NemuIpc(Platform):
|
||||
instance_id=self.emulator_instance.MuMuPlayer12_id,
|
||||
display_id=0
|
||||
).__enter__()
|
||||
except (NemuIpcIncompatible, NemuIpcError) as e:
|
||||
except (NemuIpcIncompatible, NemuIpcError, JobTimeout) as e:
|
||||
logger.error(e)
|
||||
logger.error('Unable to initialize NemuIpc')
|
||||
raise RequestHumanTakeover
|
||||
|
||||
Loading…
Reference in New Issue
Block a user