diff --git a/src/telegramPolling.js b/src/telegramPolling.js index 2563e1c..7cec903 100644 --- a/src/telegramPolling.js +++ b/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) {