2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-29 13:27:44 +00:00

throw error on polling

This commit is contained in:
Yago 2016-02-01 22:19:56 +01:00
parent f10ba246d0
commit 399dab4d77

View File

@ -40,6 +40,7 @@ TelegramBotPolling.prototype._polling = function () {
}.bind(this))
.catch(function (err) {
debug('polling error: %j', err);
throw err;
})
.finally(function () {
if (this.abort) {