refactor(errors): replace silent exception handling in core packages
This commit is contained in:
1 parent
584bb2d09c
commit
47e7cb6620
21 files changed
+132
-58
No files matched your search
@@ -467,7 +467,9 @@ class EmulatorManager:
|
||||
stderr=subprocess.DEVNULL,
|
||||
timeout=5,
|
||||
)
|
||||
except Exception:
|
||||
except (OSError, subprocess.SubprocessError):
|
||||
# Graceful `adb emu kill` failed or timed out; the direct
|
||||
# process terminate/kill below still stops the emulator.
|
||||
pass
|
||||
|
||||
if self._proc and self._proc.poll() is None:
|
||||
|
||||
Reference in new issue
Block a user