Skip to content

Commit 3bf8fc3

Browse files
missing return
1 parent c3d9719 commit 3bf8fc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

superstream-clients/src/main/java/ai/superstream/agent/KafkaProducerInterceptor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ public static Properties extractProperties(Object[] args) {
299299
} catch (ClassCastException e) {
300300
// Not the map type we expected
301301
logger.error("extractProperties: Could not cast Map to Map<String, Object>", e);
302+
return null;
302303
}
303304
}
304305

0 commit comments

Comments
 (0)