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

fix(@libp2p/websockets): do not throw error event #1950

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

achingbrain
Copy link
Member

The event listeners were set up to throw the first argument which is a WebSocket.ErrorEvent and not an error.

The actual event doesn't really give us any useful information so just throw a generic error.

The event listeners were set up to throw the first argument which
is a WebSocket.ErrorEvent and not an error.

The actual event doesn't really give us any useful information so
just throw a generic error.
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.

1 participant