Skip to content

Commit 4c6b4b1

Browse files
style: add explanatory comment to empty except in _diag
Co-Authored-By: unknown <>
1 parent fd6674d commit 4c6b4b1

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
@@ -172,6 +172,8 @@ def _diag(msg: str) -> None:
172172
try:
173173
os.write(2, f"DIAG: {msg}\n".encode())
174174
except Exception:
175+
# Intentionally ignored: diagnostics are best-effort and must
176+
# never interfere with program execution.
175177
pass
176178

177179
def _consume_from_queue(

0 commit comments

Comments
 (0)