mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[GH-ISSUE #835] JsonFormatter::normalize() should pass \Throwable to ::normalizeException() on PHP7 #324
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#324
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 @eimanavicius on GitHub (Aug 27, 2016).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/835
JsonFormatter::normalizeException() handles \Throwable:
https://github.com/Seldaek/monolog/blob/1.x/src/Monolog/Formatter/JsonFormatter.php#L173
but JsonFormatter::normalize() do not passes it to normalizeException():
https://github.com/Seldaek/monolog/blob/1.x/src/Monolog/Formatter/JsonFormatter.php#L155
@eimanavicius commented on GitHub (Aug 27, 2016):
same in master:
https://github.com/Seldaek/monolog/blob/master/src/Monolog/Formatter/JsonFormatter.php#L159