From b67597ddd07afdcd96a83848a7fbb3e243256fe4 Mon Sep 17 00:00:00 2001 From: yago Date: Sun, 26 Jul 2015 23:58:44 +0200 Subject: [PATCH] debug polling with options --- src/telegramPolling.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/telegramPolling.js b/src/telegramPolling.js index add5931..2436590 100644 --- a/src/telegramPolling.js +++ b/src/telegramPolling.js @@ -53,6 +53,7 @@ TelegramBotPolling.prototype._getUpdates = function () { pathname: '/bot'+this.token+'/getUpdates' }) }; + debug('polling with options: %j', opts); return requestPromise(opts).then(function (resp) { if (resp[0].statusCode !== 200) { throw new Error(resp[0].statusCode+' '+resp[0].body);