From 0c1afee4221b371e30a9e46f4da169dde3b3fa5e Mon Sep 17 00:00:00 2001 From: YuDong Tang <583125614@qq.com> Date: Thu, 21 Apr 2022 01:42:23 +0800 Subject: [PATCH] record exception in dubbo high version (#5892) --- .../instrumentation/apachedubbo/v2_7/TracingFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/TracingFilter.java b/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/TracingFilter.java index 25865362cc31..af0dffe1c4b5 100644 --- a/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/TracingFilter.java +++ b/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/TracingFilter.java @@ -63,7 +63,7 @@ public Result invoke(Invoker invoker, Invocation invocation) { throw e; } if (isSynchronous) { - instrumenter.end(context, request, result, null); + instrumenter.end(context, request, result, result.getException()); } return result; }