Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unknown error from Telegram #505

Closed
ro31337 opened this issue Feb 16, 2017 · 2 comments
Closed

Fix unknown error from Telegram #505

ro31337 opened this issue Feb 16, 2017 · 2 comments
Labels

Comments

@ro31337
Copy link
Owner

ro31337 commented Feb 16, 2017

Unhandled rejection TypeError: Cannot read property 'statusCode' of undefined
    at request.catch.err (/home/ro/work/libretaxi/node_modules/node-telegram-bot-api/src/telegramPolling.js:148:25)
    at tryCatcher (/home/ro/work/libretaxi/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/ro/work/libretaxi/node_modules/bluebird/js/release/promise.js:510:31)
    at Promise._settlePromise (/home/ro/work/libretaxi/node_modules/bluebird/js/release/promise.js:567:18)
    at Promise._settlePromise0 (/home/ro/work/libretaxi/node_modules/bluebird/js/release/promise.js:612:10)
    at Promise._settlePromises (/home/ro/work/libretaxi/node_modules/bluebird/js/release/promise.js:687:18)
    at Async._drainQueue (/home/ro/work/libretaxi/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/home/ro/work/libretaxi/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/home/ro/work/libretaxi/node_modules/bluebird/js/release/async.js:17:14)
    at tryOnImmediate (timers.js:610:5)
    at processImmediate [as _immediateCallback] (timers.js:582:5)

Possible solution: upgrade https://github.com/yagop/node-telegram-bot-api

@ro31337 ro31337 added the bug label Feb 16, 2017
@ro31337
Copy link
Owner Author

ro31337 commented Feb 16, 2017

@ro31337
Copy link
Owner Author

ro31337 commented Feb 16, 2017

Fixed temporarily, PR created for tgfancy library: GochoMugo/tgfancy#11

ro31337 added a commit that referenced this issue Feb 17, 2017
ro31337 added a commit that referenced this issue Feb 17, 2017
* #505 Temporarily fix statusCode error

* #505 Fix statusCode error
@ro31337 ro31337 closed this as completed Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant