-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Render trace in JsonErrorRenderer #3242
Comments
You can make your own error renderer or extend an existing renderer. |
Thanks, that's what I did as a workaround. The easiest way would be to extend Anyhow, it is inconsistent if |
I'm closing this as resolved. |
@l0gicgate I wouldn't consider this as resolved. See my question:
I still consider it as an accidental breaking change, i.e. a bug. All other renderers still render the |
In Slim 3, the
trace
of an exception is rendered in JSON response (see Slim/Handlers/PhpError::renderJsonErrorMessage). In Slim 4, the fieldtrace
is missing (see Slim/Error/Renderers/JsonErrorRenderer:: formatExceptionFragment). Was this change intentional? Otherwise, please add the fieldtrace
again.The text was updated successfully, but these errors were encountered: