Skip to content

Refining producer exception logging and bubbling#265

Merged
Gsantomaggio merged 2 commits into
rabbitmq-community:masterfrom
scitrera:master
Jan 27, 2026
Merged

Refining producer exception logging and bubbling#265
Gsantomaggio merged 2 commits into
rabbitmq-community:masterfrom
scitrera:master

Conversation

@dbotwinick
Copy link
Copy Markdown
Contributor

Changed exception logging in _get_or_create_publisher() to use debug for reraised exceptions (particularly relevant for StreamDoesNotExist) because it was polluting logs when the exception is caught and handled by user code outside of rstream. Also changed schema check_response_code() to raise an exception instance instead of the raw type/class.

…ion logging to debug level (since the exceptions are raised, logging as an exception pollutes logs when these exceptions are caught downstream)
@Gsantomaggio Gsantomaggio self-assigned this Jan 27, 2026
@Gsantomaggio Gsantomaggio added the enhancement New feature or request label Jan 27, 2026
@Gsantomaggio Gsantomaggio added this to the 0.40.2 milestone Jan 27, 2026
@Gsantomaggio Gsantomaggio merged commit b297156 into rabbitmq-community:master Jan 27, 2026
1 check passed
@Gsantomaggio
Copy link
Copy Markdown
Member

Thank you @dbotwinick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants