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

[9.x] Fix error introduced in #40701 #41955

Merged
merged 1 commit into from
Apr 13, 2022
Merged

[9.x] Fix error introduced in #40701 #41955

merged 1 commit into from
Apr 13, 2022

Conversation

rhurling
Copy link
Contributor

Hey, this PR just fixes a small bug in the change not render exception inside a streamed download.
Currently it accesses the ->message property of a Throwable, which is not defined in the interface and is (in my case) protected, which results in a new error.
This PR just changes that to the defined ->getMessage() of a Throwable.

Hey, this PR just fixes a small bug in the change not render exception inside a streamed download.  
Currently it accesses the `->message` property of a `Throwable`, which is not defined in the interface and is (in my case) protected, which results in a new error.
This PR just changes that to the defined `->getMessage()` of a `Throwable`.
@taylorotwell taylorotwell merged commit d6822c4 into laravel:9.x Apr 13, 2022
@rhurling rhurling deleted the patch-1 branch April 13, 2022 14:20
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.

None yet

2 participants