-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Debug] fix and enhance exception messages #11759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Q | A |
---|---|
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #11341 |
License | MIT |
Doc PR | none |
afb4d1b
to
9b48164
Compare
Can you share some screenshots (before/after) with us? |
@@ -76,7 +74,7 @@ public function configure() | |||
$handler->setExceptionHandler($h); | |||
$handler = is_array($h) ? $h[0] : null; | |||
} | |||
if ($handler instanceof AbstractExceptionHandler) { | |||
if ($handler instanceof ExceptionHandler) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any ways to test this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There must be one :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test added
93b789d
to
2c19db7
Compare
2c19db7
to
8df1ce8
Compare
👍 |
1 similar comment
👍 |
This is only for master? |
Yep, the feature has been introduced here: 1701447 |
Thank you @nicolas-grekas. |
This PR was merged into the 2.6-dev branch. Discussion ---------- [Debug] fix and enhance exception messages | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #11341 | License | MIT | Doc PR | none Commits ------- 8df1ce8 [Debug] fix and enhance exception messages