Skip to content

Fix silent exception swallowing in consumeAndClose#76

Merged
dkropachev merged 1 commit intomainfrom
fix/silent-exception-swallowing
Mar 4, 2026
Merged

Fix silent exception swallowing in consumeAndClose#76
dkropachev merged 1 commit intomainfrom
fix/silent-exception-swallowing

Conversation

@dkropachev
Copy link
Collaborator

@dkropachev dkropachev commented Mar 4, 2026

Summary

  • Replace silent exception swallowing with proper logging in consumeAndClose() method
  • Improve observability of connection pool health issues

Changes

  • Replace // ignore comment with proper WARNING level logging for abort failures
  • Add descriptive log message to help diagnose connection pool issues

Test plan

  • Verify compilation passes
  • Test that abort failures are now logged appropriately
  • Confirm no behavioral changes to normal operation

Replace silent exception swallowing with proper logging:
- Log abort failures at WARNING level in consumeAndClose() method
- Prevent potential connection pool leaks from undetected abort failures

This allows detection and monitoring of stream abort failures
that could impact connection pool health.
@dkropachev dkropachev force-pushed the fix/silent-exception-swallowing branch from 8edc185 to 0d05b05 Compare March 4, 2026 14:53
@dkropachev dkropachev merged commit 9129c2e into main Mar 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant