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
@@ -78,7 +78,8 @@ def init_command() -> None:
|
||||
serial = parts[0]
|
||||
extra = " ".join(parts[2:])
|
||||
detected_devices.append((serial, extra))
|
||||
except Exception:
|
||||
except (OSError, subprocess.SubprocessError):
|
||||
# adb probe failed or timed out; continue setup with no devices.
|
||||
pass
|
||||
|
||||
selected_serial = ""
|
||||
|
||||
Reference in new issue
Block a user