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

Error callback function #118

Open
torshid opened this issue Feb 11, 2017 · 0 comments
Open

Error callback function #118

torshid opened this issue Feb 11, 2017 · 0 comments

Comments

@torshid
Copy link

torshid commented Feb 11, 2017

Hi,
Just a small suggestion here: specifying a custom error callback function in the config.
Something like that (in the twitterFetcher.js):

if (data.body === undefined) {
 if (customErrorCallbackFunction !== null) {
  customErrorCallbackFunction();
 }
 //also check inProgress
 return;
} 

Instead of:

if (data.body === undefined) {
 return;
} 

It would be even better to have informations about the error.

Thank you and good job by the way.

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

2 participants