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:
parent
f10ba246d0
commit
399dab4d77
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user