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

Javascript errors #4

Open
jssuttles opened this issue May 28, 2019 · 0 comments
Open

Javascript errors #4

jssuttles opened this issue May 28, 2019 · 0 comments

Comments

@jssuttles
Copy link

o.emit('error', new Error('server-internal-error', socketError.message));

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error

The second parameter in a Javascript error is the filename.
I would recommend building a custom 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

No branches or pull requests

1 participant