lib/dispatch-rider/integrations/appsignal.rb in dispatch-rider-1.8.2 vs lib/dispatch-rider/integrations/appsignal.rb in dispatch-rider-1.8.3
- old
+ new
@@ -23,10 +23,10 @@
) do
job.call
end
rescue Exception => exception
unless ::Appsignal.is_ignored_error?(exception)
- ::Appsignal::Transaction.current.add_error(exception)
+ ::Appsignal::Transaction.current.add_exception(exception)
end
raise exception
ensure
::Appsignal::Transaction.complete_current!
end