lib/dispatch-rider/error_handlers.rb in dispatch-rider-2.1.0 vs lib/dispatch-rider/error_handlers.rb in dispatch-rider-2.2.0

- old
+ new

@@ -1,9 +1,11 @@ +# frozen_string_literal: true + module DispatchRider # This is the default error handler for dispatch rider. # It simply re-raises the exception. module DefaultErrorHandler - def self.call(message, exception) + def self.call(_message, exception) raise exception end end # This error handler integrates with airbrake.io, i