diff --git a/lib/datadog/core/configuration.rb b/lib/datadog/core/configuration.rb index d25c5845767..a43a3cb2e20 100644 --- a/lib/datadog/core/configuration.rb +++ b/lib/datadog/core/configuration.rb @@ -238,7 +238,7 @@ def safely_synchronize yield write_components rescue ThreadError => e logger_without_components.error( - 'Detected deadlock during datadog initialization. ' \ + "Detected deadlock during datadog initialization: #{e.class}: #{e}. " \ 'Please report this at https://github.com/datadog/dd-trace-rb/blob/master/CONTRIBUTING.md#found-a-bug' \ "\n\tSource:\n\t#{Array(e.backtrace).join("\n\t")}" )