Skip to content
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

[2.x] Only log file/line for exception trace #817

Merged
merged 3 commits into from
Jan 30, 2020

Conversation

barryvdh
Copy link
Contributor

The Stacktrace contains a lot of data sometimes, especially in the args part of the Trace. As far as I can tell, these values are not actually used, only file and line are rendered.
This commit filters the stacktrace to reduce the size of the entries. I've encountered some issues with larger datasets that surpassed the max_allowed_packer from MySQL and thus crashing (the already crashed) app.

Additional values are not used but can become very large (object arguments etc)
@driesvints driesvints changed the title [2.1] Only log file/line for exception trace [2.x] Only log file/line for exception trace Jan 30, 2020
@taylorotwell taylorotwell merged commit 1b89dda into laravel:2.0 Jan 30, 2020
@barryvdh barryvdh deleted the patch-4 branch January 30, 2020 14:21
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