ruimarinho / authy-client

A complete Authy client with support for TOTP, OneTouch, Phone Verification and Phone Intelligence APIs
122 stars 27 forks source link

Bluebird error not being passed to callback #37

Closed alokrajiv closed 7 years ago

alokrajiv commented 7 years ago

I am using the callback syntax for sending a one-touch request. When the mobile is not really registered, i see that bluebird is throwing an error:

async.js:61 : fn = function () { throw arg; };

Put, this is not being passed with err to the callback.

Is this expected behaviour or a bug?

alokrajiv commented 7 years ago

My apologies. It was an error from my side, there was an error from my side which overwrote the error. Closed the issue.

ruimarinho commented 7 years ago

No problem. Glad you found the problem @alokrajiv :)