Skip to content

Commit c6fb2c8

Browse files
style: add explanatory comment to empty except block in watchdog
Co-Authored-By: unknown <>
1 parent 33ff81f commit c6fb2c8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

airbyte_cdk/sources/concurrent_source/concurrent_source.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ def _watchdog_loop(self) -> None:
248248
)
249249
os.write(sys.stderr.fileno(), msg.encode())
250250
except Exception:
251+
# Intentionally ignored: logging is best-effort and must
252+
# not prevent process termination via os._exit() below.
251253
pass
252254
os._exit(1)
253255

0 commit comments

Comments
 (0)