refactor(errors): replace silent exception handling in console and server
This commit is contained in:
1 parent
41deb48005
commit
c76c9bb7e8
20 files changed
+267
-107
No files matched your search
@@ -167,7 +167,8 @@ def ensure_emulator(
|
||||
if "1" in res.stdout:
|
||||
time.sleep(2) # Stabilization
|
||||
return True
|
||||
except Exception:
|
||||
except (subprocess.SubprocessError, OSError):
|
||||
# adb not ready yet while the emulator boots: keep polling.
|
||||
pass
|
||||
time.sleep(2)
|
||||
|
||||
|
||||
Reference in new issue
Block a user