lib/dispatch-rider/error_handlers.rb in dispatch-rider-0.1.1.1 vs lib/dispatch-rider/error_handlers.rb in dispatch-rider-0.1.2

- old
+ new

@@ -10,9 +10,9 @@ # This error handler integrates with airbrake.io, i # sending the mesage and environment details. module AirbrakeErrorHandler def self.call(message, exception) - Airbrake.notify(exception, controller: "DispatchRider", action: message.subject, parameters: message.attributes, cgi_data: ENV) + Airbrake.notify(exception, controller: "DispatchRider", action: message.subject, parameters: message.attributes, cgi_data: ENV.to_hash) end end end