Skip to content

fix: harden log encoding and the rejection rethrow#19

Merged
ernolf merged 1 commit into
mainfrom
ernolf/fix/log-encoding-hardening
Jul 19, 2026
Merged

fix: harden log encoding and the rejection rethrow#19
ernolf merged 1 commit into
mainfrom
ernolf/fix/log-encoding-hardening

Conversation

@ernolf

@ernolf ernolf commented Jul 19, 2026

Copy link
Copy Markdown
Owner
  • json entries with broken UTF-8 header bytes are written with substituted characters instead of being silently dropped (json_encode returned false and only an empty line was appended)
  • rethrowing a non-throwable rejection no longer string-casts objects blindly; objects are reported by class name like in the log entry

- json entries with broken UTF-8 header bytes are written with substituted characters instead of being silently dropped (json_encode returned false and only an empty line was appended)
- rethrowing a non-throwable rejection no longer string-casts objects blindly; objects are reported by class name like in the log entry

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
@ernolf
ernolf merged commit fd39be4 into main Jul 19, 2026
36 checks passed
@ernolf
ernolf deleted the ernolf/fix/log-encoding-hardening branch July 19, 2026 01:10
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