Skip to content

Commit fc022d0

Browse files
committed
fix(kafka): Pass consumer interceptor log throwable correctly
1 parent 81ee869 commit fc022d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry-spring-jakarta/src/main/java/io/sentry/spring/jakarta/kafka/SentryKafkaConsumerBeanPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ private static final class InterceptorReadFailedException extends Exception {
4646
.getLogger()
4747
.log(
4848
SentryLevel.ERROR,
49+
e,
4950
"Sentry Kafka consumer tracing disabled for factory '%s' \u2014 could not read "
5051
+ "existing recordInterceptor via reflection. Refusing to install Sentry's "
5152
+ "interceptor to avoid overwriting a customer-configured RecordInterceptor.",
52-
e,
5353
beanName);
5454
return bean;
5555
}

0 commit comments

Comments
 (0)