Skip to content

[5.4] if handler can't report exception just render it - #19977

Merged
taylorotwell merged 1 commit into
laravel:5.4from
themsaid:exception/fix
Jul 10, 2017
Merged

[5.4] if handler can't report exception just render it#19977
taylorotwell merged 1 commit into
laravel:5.4from
themsaid:exception/fix

Conversation

@themsaid

@themsaid themsaid commented Jul 10, 2017

Copy link
Copy Markdown
Member

In case the exception handler can't log the exception, we'll render the exception (coming from the failure to log). Otherwise there's no feedback(response) coming to the user when such failure happens.

To replicate the issue you can:

chmod ug+r,ug-w storage/logs/laravel.log

And then throw an exception.

Issue reported in: #19973

@Francismori7

Copy link
Copy Markdown
Contributor

Yes!!!

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.

3 participants