lib/honeybadger/plugins/delayed_job.rb in honeybadger-5.23.0 vs lib/honeybadger/plugins/delayed_job.rb in honeybadger-5.24.0

- old
+ new

@@ -13,9 +13,10 @@ end !delayed_job_honeybadger end execution do + return unless Honeybadger.config[:'exceptions.enabled'] require 'honeybadger/plugins/delayed_job/plugin' ::Delayed::Worker.plugins << Plugins::DelayedJob::Plugin end end end