SpiderStrategies / node-tweet-stream

Node twitter module to hook into the public filter streaming, seamlessly updating the tracking keywords.
210 stars 43 forks source link

add default listener for the new 'error' event #46

Closed robturtle closed 8 years ago

robturtle commented 8 years ago

Since current parameter checking is more strict, some underlying errors may be reported after updated this module. To reduce the confusions from people who suddenly found their code not working and complained about Uncaught 'error' event, I suggest adding a default listener for 'error' events to show people the way to their resolution.