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

+4 -2
View File
@@ -152,7 +152,8 @@ class DevicePool:
if proc is not None:
try:
proc.kill()
except Exception:
except (ProcessLookupError, OSError):
# Process already exited; nothing left to clean up.
pass
return None
@@ -256,7 +257,8 @@ class DevicePool:
if proc is not None:
try:
proc.kill()
except Exception:
except (ProcessLookupError, OSError):
# Process already exited; nothing left to clean up.
pass
async def warm_up_async(