laravel / reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.
https://reverb.laravel.com
MIT License
1.02k stars 71 forks source link

[1.x] Handles stale app IDs #143

Closed joedixon closed 4 months ago

joedixon commented 4 months ago

This PR resolved #142

We were catching an exception, but not stopping execution of the code which could result in a message being delivered when sent with an invalid app ID.

This could only really happen if you updated the App ID in your environment and immediately began broadcasting with the new App ID without restarting the Reverb server.

To address this, the exception is being caught higher up by the server instead of directly in the controller.