throw error on polling

experimental
Yago 10 years ago
parent f10ba246d0
commit 399dab4d77
  1. 1
      src/telegramPolling.js

@ -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…
Cancel
Save