Skip to content

Commit a25f9ba

Browse files
authored
Merge branch 'main' into feat/custom-client-resources
2 parents 27231d3 + 4b502a6 commit a25f9ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/spring/spring-kafka-2.7/library/src/main/java/io/opentelemetry/instrumentation/spring/kafka/v2_7/InstrumentedRecordInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,6 @@ public void clearThreadState(Consumer<?, ?> consumer) {
138138

139139
private static class ThreadState {
140140
// used to record the error in failure() so it could be used in afterRecord()
141-
Throwable error;
141+
@Nullable Throwable error;
142142
}
143143
}

0 commit comments

Comments
 (0)