mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[GH-ISSUE #1969] JsonFormatter crashes when stringable object has an error #849
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#849
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adrien914 on GitHub (May 19, 2025).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1969
Monolog version 3?
When using JsonFormatter with a stringable object, if the toString() method throws an exception the whole normalization process crashes. We should not throw an exception while trying to log something.