lib/ddtrace/contrib/resque/resque_job.rb in ddtrace-0.42.0 vs lib/ddtrace/contrib/resque/resque_job.rb in ddtrace-0.43.0
- old
+ new
@@ -46,10 +46,10 @@
return false unless pin
pin.config[:forked] == true
end
def span_options
- { service: datadog_configuration[:service_name] }
+ { service: datadog_configuration[:service_name], on_error: datadog_configuration[:error_handler] }
end
def tracer
datadog_configuration.tracer
end