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

UI breaks because of uncaught exception when streaming data #88

Open
firsti opened this issue Jul 9, 2018 · 0 comments
Open

UI breaks because of uncaught exception when streaming data #88

firsti opened this issue Jul 9, 2018 · 0 comments
Labels

Comments

@firsti
Copy link
Contributor

firsti commented Jul 9, 2018

If the device from which the data should be streamed, the UI breaks, because the arguments for the error handling are missing.

I suggest to fix this with:
stream.onerror = errorHandle.bind(this, {message: 'An error occurred with the stream of ' + deviceId}, dispatch)
at

stream.onerror = errorHandle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant