-
Notifications
You must be signed in to change notification settings - Fork 12
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
Error: Unexpected discovery message #46
Comments
Interesting. Not sure what's sending that invalid message, but we should definitely not crash. Should be easy enough to fix, just need to log and skip un-parseable messages in |
I may think this problem could happen whenever you do Solved it here: https://github.com/kopiro/homebridge-playstation/blob/master/src/playstationAccessory.ts#L99 |
Fixed by #49 thanks! |
Hey; I've implemented your library in https://github.com/kopiro/homebridge-playstation, and sometimes I'm getting:
This happens after
connection.close()
has been called and we callDevice::withId().discover()
again;The weird thing is that this exception goes through the entire main thread and causes homebridge to crash
The text was updated successfully, but these errors were encountered: