lib/dispatch-rider/integrations/appsignal.rb in dispatch-rider-1.8.0 vs lib/dispatch-rider/integrations/appsignal.rb in dispatch-rider-1.8.1
- old
+ new
@@ -7,11 +7,11 @@
def self.wrap_message(job, message)
begin
::Appsignal::Transaction.create(
SecureRandom.uuid,
- Appsignal::Transaction::BACKGROUND_JOB,
- Appsignal::Transaction::GenericRequest.new(ENV.to_hash)
+ ::Appsignal::Transaction::BACKGROUND_JOB,
+ ::Appsignal::Transaction::GenericRequest.new(ENV.to_hash)
)
::ActiveSupport::Notifications.instrument(
'perform_job.dispatch-rider',
:class => message.subject,