diff --git a/lib/spam-filter.js b/lib/spam-filter.js index 666ae9b..60170a6 100644 --- a/lib/spam-filter.js +++ b/lib/spam-filter.js @@ -61,7 +61,7 @@ module.exports = { if (`${res.data}` === 'false') { log.debug('Akismet marked comment as HAM') return comment - } else if (`${res.data}` === 'true') throw new SpamError('Akismet marked comment as SPAM') + } else if (`${res.data}` === 'true') log.Debug('Akismet marked comment as SPAM') else throw new SpamError('Akismet error: ' + res.data) },