Skip to content

Fix WebSocket#onerror #773

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

Merged
merged 1 commit into from
May 11, 2023
Merged

Fix WebSocket#onerror #773

merged 1 commit into from
May 11, 2023

Conversation

armanbilge
Copy link
Member

Copy link
Contributor

@zetashift zetashift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@armanbilge armanbilge merged commit 3bb40a8 into main May 11, 2023
@armanbilge armanbilge deleted the fix/websocket-onerror branch May 11, 2023 15:17
var onerror: js.Function1[ErrorEvent, _] = js.native
var onerror: js.Function1[Error, _] = js.native
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gah, this PR was an utter fail 🤦 it's an ordinary Event, not an ordinary Error.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh snap, I totally whooshed as well

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.

2 participants