Under some conditions, tuiter will fail to work, without ever notifying of any error.
Steps to reproduce
- instantiate Tuiter object with wrong twitter application keys
- use a streaming API endpoint
Expected result
An error thrown (e.g. { errors: [ { code: 215, message: 'Bad Authentication data.' } ] } )
Observed result
No error is thrown, the application continues to runm although not ever returning any tweet, obviously.
using DEBUG=tuiter does not notify of an authentication problem either.
workaround is to perform a REST API request, in order to have an error to be thrown...
Under some conditions, tuiter will fail to work, without ever notifying of any error.
Steps to reproduce
Expected result
An error thrown (e.g.
{ errors: [ { code: 215, message: 'Bad Authentication data.' } ] })Observed result
No error is thrown, the application continues to runm although not ever returning any tweet, obviously.
using
DEBUG=tuiterdoes not notify of an authentication problem either.workaround is to perform a REST API request, in order to have an error to be thrown...