message:"debug is not a function"
stack:"TypeError: debug is not a function\n at /home/daniel/git/o2r/o2r-muncher/node_modules/erc-checker/index.js:374:4\n at Promise (<anonymous>)\n at ercChecker (/home/daniel/git/o2r/o2r-muncher/node_modules/erc-checker/index.js:212:9)\n at __dirname.Executor.compendium.check.Promise.updateStep (/home/daniel/git/o2r/o2r-muncher/lib/executor.js:743:11)\n at __dirname.Executor.compendium.updateStep.Job.update (/home/daniel/git/o2r/o2r-muncher/lib/executor.js:115:7)\n at Model.compile.model.Query.callback (/home/daniel/git/o2r/o2r-muncher/node_modules/mongoose/lib/query.js:2880:9)\n at /home/daniel/git/o2r/o2r-muncher/node_modules/kareem/index.js:273:21\n at /home/daniel/git/o2r/o2r-muncher/node_modules/kareem/index.js:131:16\n at _combinedTickCallback (internal/process/next_tick.js:131:7)\n at process._tickCallback (internal/process/next_tick.js:180:9)"
_
With
quiet: true
, I get the following error:Triggered in line
374
inindex.js
.I recommend instead of
simply the
enabled
property as described here: https://www.npmjs.com/package/debug#checking-whether-a-debug-target-is-enabled