Skip to content

Conversation

themsaid
Copy link
Member

As reported in #21146

The exception trace might contain instances that will fail if passed to json_decode while rendering the response, this will cause an exception to be thrown preventing a proper response from being produced.

In this PR, we only render the file, line, function, class, and type from each trace, these values are always strings/integers while args might hold objects that are un-decodable.

@taylorotwell taylorotwell merged commit d12f1ed into laravel:5.5 Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants