lib/raven/integrations/delayed_job.rb in sentry-raven-3.1.1 vs lib/raven/integrations/delayed_job.rb in sentry-raven-3.1.2

- old
+ new

@@ -28,10 +28,10 @@ # handlers are YAML objects in strings, we definitely can't # report all of that or the event will get truncated randomly extra[:handler] = job.handler[0...1000] if job.handler if job.respond_to?('payload_object') && job.payload_object.respond_to?('job_data') - extra[:active_job] = Utils::ContextFilter.filter_context(job.payload_object.job_data) + extra[:active_job] = ::Raven::Utils::ContextFilter.filter_context(job.payload_object.job_data) end ::Raven.capture_exception(e, :logger => 'delayed_job', :tags => { :delayed_job_queue => job.queue,