Open matthewberryman opened 7 years ago
It seems that Gnip's response of 403 broke the gnip module (external node module), our app interprets this as a Fatal error (as no rules = no data) and shuts down. Should we have an alternative strategy (e.g. attempt to reconnect)?
In the case of 403 and the others with exception of 429 and 503 (see reference at http://support.gnip.com/apis/powertrack/api_reference.html ) it looks like they would need human intervention to resolve; so in that case we should report somehow—I propose using an SNS topic in the reports main module, a reference to an object with methods for this should be passed to and callable from the submodules—and the gnip module should gracefully stop, leaving other submodules running. Thoughts?
no error handling on gnip API errors e.g.