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

[8.x] Fixing BroadcastException message in PusherBroadcaster@broadcast #35287

Closed
wants to merge 1 commit into from
Closed

Conversation

cbl
Copy link
Contributor

@cbl cbl commented Nov 19, 2020

This pr fixes the exception message shown when broadcasting fails in the PusherBroadcaster.

I assume that because of the line 123 ! empty($response['body']) the body of the request should be given and not the status code.

This also makes sense because it gives the developer a better explanation of the error:

Before

Bildschirmfoto 2020-11-19 um 12 59 21

After

Bildschirmfoto 2020-11-19 um 12 59 34

@driesvints driesvints changed the title Fixing BroadcastException message in PusherBroadcaster@broadcast [8.x] Fixing BroadcastException message in PusherBroadcaster@broadcast Nov 19, 2020
@driesvints
Copy link
Member

Heya, can you send this to 6.x please? We'll merge it into upstream branches.

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