From c12e1b4db0f33f0edcd1e8a1689c1a3f7f61faeb Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Thu, 13 Jul 2017 08:56:19 +0200 Subject: [PATCH] Add debug call for scraper initialization --- src/scrapers/pastebin-com.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scrapers/pastebin-com.js b/src/scrapers/pastebin-com.js index e8ee639..c3d11f4 100644 --- a/src/scrapers/pastebin-com.js +++ b/src/scrapers/pastebin-com.js @@ -23,6 +23,8 @@ module.exports = function createPastebinComScraper(options = {}) { let knownPastes = []; let previousKnownPastes = []; + debug(`Initializing with pasteInterval ${options.pasteInterval}, listInterval ${options.listInterval}, and listLimit ${options.listLimit}`); + queue.define("fetchPaste", (task) => { return Promise.try(() => { debug(`Fetching paste ID ${task.pasteKey}...`)