From 19733290e040ab6ca4c19d11b299de54562b7b91 Mon Sep 17 00:00:00 2001 From: jean-philippe bempel Date: Tue, 3 Jun 2025 15:30:51 +0200 Subject: [PATCH] Fix OT packaging for exception replay add dependency on debugger-bootstrap to include DebuggerContext class in the OT jar as it is used in DDSpan::addThrowable when checking for exception replay is enabled --- dd-trace-ot/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dd-trace-ot/build.gradle b/dd-trace-ot/build.gradle index fa5e07f10dc..9647b7839af 100644 --- a/dd-trace-ot/build.gradle +++ b/dd-trace-ot/build.gradle @@ -41,6 +41,8 @@ dependencies { // why all communication pulls in remote config is beyond me... exclude(group: 'com.datadoghq', module: 'remote-config-core') } + // exception replay + implementation(project(':dd-java-agent:agent-debugger:debugger-bootstrap')) // OpenTracing api group: 'io.opentracing', name: 'opentracing-api', version: '0.32.0'