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

ConnectionEventListener null safety issue #5

Merged
merged 1 commit into from
Dec 14, 2020
Merged

ConnectionEventListener null safety issue #5

merged 1 commit into from
Dec 14, 2020

Conversation

spiritinlife
Copy link
Contributor

As seen here https://github.com/pusher/pusher-websocket-java/blob/master/src/main/java/com/pusher/client/connection/ConnectionEventListener.java
code and exception can be null.

This can be tested if while connected to pusher you close your internet connection. The error from the underlying websocket library has a null exception and code.

@chinloyal chinloyal merged commit 2f90cae into chinloyal:master Dec 14, 2020
@chinloyal
Copy link
Owner

I'll include this in the next minor release

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