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

Throw more descriptive error when message size exceeds maximum #546

Open
t-mullen opened this issue Sep 11, 2019 · 0 comments
Open

Throw more descriptive error when message size exceeds maximum #546

t-mullen opened this issue Sep 11, 2019 · 0 comments
Assignees

Comments

@t-mullen
Copy link
Collaborator

A common issue is pc.send throwing the cryptic TypeError: The expression cannot be converted to return the specified type (or other equally unhelpful errors) when a message exceeds the browser maximum.

We shouldn't chunk messages by default, but it would be nice to detect a message exceeds this maximum and throw a more descriptive error.

See #460, #393, #330, and others.

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

No branches or pull requests

1 participant