-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
on("error") callback function is never executed. #994
Comments
Hey @allanbbs, Thank you for the report. How do you provoke the error? |
Hi @jonasgloning,
I provoked a connection error by closing the browser window while data was being transferred between two peers. The receiver stopped receiving the data but the error event handler was not invoked. Has this problem been fixed in the meantime or is this still an open issue? Would be grateful for any support on this! |
I found the following comment in the This dates back to version 0.2.0 which was released on 2013-03-24. It sounds like the |
Problem persists in version 1.5.4. Neither the |
I'm currently using npm peerjs with webpack. When testing error handling , I found out that error (fatal and non-fatal) error would not execute the defined callback function. The console would log something like : "ERROR PeerJS : ...." and the callback code would not have been executed. I tested this both on Chrome and IE. Can anyone give me some directions?
The text was updated successfully, but these errors were encountered: