diff --git a/lib/sentry.js b/lib/sentry.js index 3dc22110..45cf3ac1 100644 --- a/lib/sentry.js +++ b/lib/sentry.js @@ -22,7 +22,7 @@ module.exports = function sentry (moduleOptions) { }, this.options.sentry, moduleOptions) // Don't proceed if it's disabled - if (this.options.disabled) { + if (options.disabled) { logger.info('Disabled because the disabled option is set') return }