refactor(errors): replace silent exception handling in core packages

This commit is contained in:
somew1nd committed 2026-09-01 15:54:49 -07:00
1 parent 584bb2d09c
commit 47e7cb6620
21 files changed
+132 -58

No files matched your search

+2 -1
View File
@@ -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 = ""