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
Exception not reaching outer try catch #33
Comments
How does your code look like? |
The same way the example on your front page works: Loop::run(function () { ... $connection = yield connect('wss://...').... while ($message = yield $connection->receive()) { ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I put the whole Loop doing a websocket in a try... catch( Exception $e ) {
If there is a problem, like I disconnect internet, I get...
How can I catch error and retry since try/catch does not work?
The text was updated successfully, but these errors were encountered: