storify/everyauth — pull request #1 by arlolra (2012-10-18 21:21:44+00:00)
Title: error not parsing

Error handling is better in everyauth 0.3.x, but for now this should take care of pivotal #38032715,

> TypeError: Cannot read property ‘1’ of null

> at /data/storify/webapp/node_modules/everyauth/lib/modules/twitter.js:35:61
at Step.exec.ret.errback.fn (/data/storify/webapp/node_modules/everyauth/lib/step.js:97:21)
at Promise.fail (/data/storify/webapp/node_modules/everyauth/lib/promise.js:53:24)
at module.exports.everyModule.submodule.configurable.definit.get.step.description.accepts.promises.step.description.accepts.promises.step.description.accepts.promises.get.step.description.accepts.promises.canBreakTo.canBreakTo.step.accepts.promises.step.description.accepts.promises.step.description.accepts.promises.step.accepts.promises.step.accepts.promises.step.accepts.promises.step.accepts.promises.step.accepts.promises.stepseq.step.accepts.promises.step.stepseq.step.accepts.promises.getRequestToken.storeRequestToken.redirectToProviderAuth.extractTokenAndVerifier.getSession.rememberTokenSecret.getAccessToken.compileAuth.accessToken (/data/storify/webapp/node_modules/everyauth/lib/modules/oauth.js:168:24)
at exports.OAuth.getOAuthAccessToken (/data/storify/webapp/node_modules/everyauth/node_modules/oauth/lib/oauth.js:434:22)
at passBackControl (/data/storify/webapp/node_modules/everyauth/node_modules/oauth/lib/oauth.js:368:13)
at IncomingMessage.exports.OAuth._performSecureRequest.request.on.callbackCalled (/data/storify/webapp/node_modules/everyauth/node_modules/oauth/lib/oauth.js:380:9)