Skip to content

Commit

Permalink
Merge pull request #3240 from DataDog/tonycthsu/fix-missing-variable-…
Browse files Browse the repository at this point in the history
…for-host-injection

Fix host injection error handling
  • Loading branch information
TonyCTHsu authored Nov 7, 2023
2 parents 242d338 + 290d552 commit 8ef4139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib-injection/host_inject.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ def debug_log(msg)
end
end
rescue Exception => e
warn "[ddtrace] #{failure_prefix} #{e.class.name} #{e.message}\nBacktrace: #{e.backtrace.join("\n")}\n#{support_message}"
warn "[ddtrace] Injection failed: #{e.class.name} #{e.message}\nBacktrace: #{e.backtrace.join("\n")}\n#{support_message}"
end

0 comments on commit 8ef4139

Please sign in to comment.