Lately, an error is often thrown in middleware/twitter.js. Example from this morning:
[2016-02-08T06:24:43.161Z] middleware/twitter.js:17
if (res.statusCode == 200){
^
TypeError: Cannot read property 'statusCode' of undefined
at middleware/twitter.js:17:11
at node_modules/twitter/lib/twitter.js:103:4
at ClientRequest.<anonymous> (node_modules/twitter/node_modules/oauth/lib/oauth.js:421:9)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at TLSSocket.socketErrorListener (_http_client.js:259:9)
at emitOne (events.js:77:13)
at TLSSocket.emit (events.js:169:7)
at connectErrorNT (net.js:996:8)
at doNTCallback2 (node.js:439:9)
Lately, an error is often thrown in middleware/twitter.js. Example from this morning:
Does anyone have the time to look into this?