Skip to content

Commit

Permalink
Add backtrace
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Sep 20, 2024
1 parent 8b71df7 commit ac41fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog/single_step_instrument.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ac41fd7

Please sign in to comment.