mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 09:48:01 +08:00
Fix: Handle AdbTimeout
This commit is contained in:
@@ -61,6 +61,10 @@ def handle_adb_error(e):
|
|||||||
# AdbError(device '127.0.0.1:59865' not found)
|
# AdbError(device '127.0.0.1:59865' not found)
|
||||||
logger.error(e)
|
logger.error(e)
|
||||||
return True
|
return True
|
||||||
|
elif 'timeout' in text:
|
||||||
|
# AdbTimeout(adb read timeout)
|
||||||
|
logger.error(e)
|
||||||
|
return True
|
||||||
else:
|
else:
|
||||||
# AdbError(closed)
|
# AdbError(closed)
|
||||||
# AdbError(device offline)
|
# AdbError(device offline)
|
||||||
|
|||||||
Reference in New Issue
Block a user