Skip to content

Apply logging filters to exception messages - #1702

Merged
iMacTia merged 4 commits into
lostisland:mainfrom
OskarEichler:codex/filter-exception-log-message
Oct 18, 2026
Merged

iMacTia merged 4 commits into
lostisland:mainfrom
OskarEichler:codex/filter-exception-log-message

Conversation

@OskarEichler

Copy link
Copy Markdown
Contributor

The logger filters request and response data but writes exception full_message without applying the configured filters, which can expose values users explicitly registered for redaction. Apply the same filter chain to the exception text.

Verification: full suite 639 examples, zero failures; focused multi-line exception model; RuboCop and syntax pass. Source-only patch; no tests included.

@olleolleolle olleolleolle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense, thanks for adding that.

@iMacTia
iMacTia merged commit a051293 into lostisland:main Oct 18, 2026
9 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.

3 participants