lib/bugsnag/resque.rb in bugsnag-5.1.0 vs lib/bugsnag/resque.rb in bugsnag-5.2.0

- old
+ new

@@ -24,11 +24,11 @@ ::Resque::Failure.backend.classes << self end end def save - Bugsnag.auto_notify(exception, {:context => "#{payload['class']}@#{queue}", :payload => payload, :delivery_method => :synchronous}) + Bugsnag.auto_notify(exception, {:context => "#{payload['class']}@#{queue}", :payload => payload}) end end end # For backwards compatibility @@ -37,7 +37,7 @@ # Auto-load the failure backend Bugsnag::Resque.add_failure_backend Resque.before_first_fork do Bugsnag.configuration.app_type = "resque" - Bugsnag.configuration.delivery_method = :synchronous + Bugsnag.configuration.default_delivery_method = :synchronous end