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

Catch all exceptions when Push.send fails #69

Merged

Conversation

miguelcmedeiros
Copy link
Contributor

Fixes #68.

In order to test the cases where the exceptions are caught during a push and to make sure we can tweak the test behaviour, we have mock (generated by mockito) for PhoenixSocket and PhoenixChannel.

@miguelcmedeiros
Copy link
Contributor Author

Cc @matehat

@Pacane Pacane requested a review from matehat March 5, 2024 16:38
Copy link
Member

@matehat matehat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@matehat matehat merged commit a28e41d into braverhealth:master Mar 5, 2024
1 check passed
@brian-superlist brian-superlist deleted the bugfix/68-handle-push-exceptions branch March 6, 2024 13:31
@brian-superlist brian-superlist restored the bugfix/68-handle-push-exceptions branch March 6, 2024 13:31
s6o pushed a commit to s6o/phoenix-socket-dart that referenced this pull request May 23, 2024
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.

Exceptions/errors other than PhoenixException get swallowed when a Push fails
2 participants