-
Notifications
You must be signed in to change notification settings - Fork 2k
error handling #462
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
Comments
fixed in #470 |
This should be documented somewhere. related to #463 |
The root of the problem is that listening on a wildcard error listener ( @yawnt you think we could simplify the error listener in some manner (maybe to a simple |
As @srossross confirmed, we cannot use a single wildcard to cover multiple delimited sections. So if we are to continue to namespace the error handling in some way, we should choose something simpler. So we should think about what distinctions are important when handling errors. The |
yeah i've been trying to find a better way without losing the 'incoming/outgoing' differentiation.. since i have no idea yet i'll refactor like you suggested |
Why not drop whole silly namespacing completely and just "tag" the error instances with a type so people and we can filter based on that? For example: var err = new Error('WebSucket failure');
err.type = 'ws'; |
not bad at all actually.. how close is EE3 to completion @3rd-Eden ? if i have to refactor i'd like to use that |
@yawnt EE3 works as intended, differences between normal EE and EE3 are explained in the README: https://github.com/3rd-Eden/EventEmitter3 ( also, it doesn't have namespaces ;-), never found them useful enough to implement ) |
|
I just upgraded to the latests http-proxy in npm (1.0.2), I am using express JS and I get this error:
from my |
@srossross yea i have been thinking how these should be separated. |
No description provided.
The text was updated successfully, but these errors were encountered: