Skip to content

Commit

Permalink
throw error on polling
Browse files Browse the repository at this point in the history
  • Loading branch information
yagop committed Feb 1, 2016
1 parent f10ba24 commit 399dab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/telegramPolling.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 399dab4

Please sign in to comment.