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