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

Added error handling example #484

Merged
merged 1 commit into from
Sep 22, 2013
Merged

Conversation

srossross
Copy link
Contributor

@yawnt @jcrugzz, the reason that your wildcard error handler ee.on('*:error', function (err) {} does not get picked up is because it does not match the event emitted. you could use ee.on('*:*:*:error', function (err) {}

I do agree that the number of namespaces does seem a bit much. perhaps ws:error and web:error would be sufficient.

Issues #462 #470

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 32a4088 on srossross:error_handling into 32dcb04 on nodejitsu:caronte.

yawnt added a commit that referenced this pull request Sep 22, 2013
[merge] Added error handling example
@yawnt yawnt merged commit 94ec6fa into http-party:caronte Sep 22, 2013
@yawnt
Copy link
Contributor

yawnt commented Sep 22, 2013

👍 we totally need to refactor error events ..

@srossross srossross deleted the error_handling branch September 22, 2013 14:13
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.

3 participants