From ac41fd7962abec12d1d94f323720ee359cab349b Mon Sep 17 00:00:00 2001 From: Tony Hsu Date: Fri, 20 Sep 2024 19:23:30 +0200 Subject: [PATCH] Add backtrace --- lib/datadog/single_step_instrument.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datadog/single_step_instrument.rb b/lib/datadog/single_step_instrument.rb index c8d5e1218a..91d75e1bc4 100644 --- a/lib/datadog/single_step_instrument.rb +++ b/lib/datadog/single_step_instrument.rb @@ -8,5 +8,5 @@ begin require_relative 'auto_instrument' rescue StandardError, LoadError => e - warn "Single step instrumentation failed: #{e.class}, #{e.message}" + warn "Single step instrumentation failed: #{e.class}:#{e.message}\n\tSource:\n\t#{Array(e.backtrace).join("\n\t")}" end