diff --git a/lib/honeybadger/agent.rb b/lib/honeybadger/agent.rb index 4f8811ce..7d793aa7 100644 --- a/lib/honeybadger/agent.rb +++ b/lib/honeybadger/agent.rb @@ -125,6 +125,11 @@ def initialize(opts = {}) # @return [String] UUID reference to the notice within Honeybadger. # @return [false] when ignored. def notify(exception_or_opts = nil, opts = {}, **kwargs) + if !config[:'notices.enabled'] + debug { 'disabled feature=notices' } + return false + end + opts = opts.dup opts.merge!(kwargs)