Commit 21fcd6e
fix: use error_handler_t::replace for UTF-8 in JSON dump
Prevents json::type_error.316 when payload strings contain invalid
UTF-8 bytes. Replaces bad bytes with U+FFFD instead of throwing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2c13c06 commit 21fcd6e
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| |||
0 commit comments