gnodet-bot commented on code in PR #30496:
URL: https://github.com/apache/camel/pull/30496#discussion_r4643062407
##########
components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaFetchRecords.java:
##########
@@ -191,6 +191,15 @@ public void run() {
}
safeConsumerClose();
+ } catch (VirtualMachineError e) {
+ // left as before: thrown on
Review Comment:
💬 **Nit:** The comment `// left as before: thrown on` is unfinished — the
sentence is cut off. What is it thrown on? Consider:
```suggestion
// left as before: re-thrown so the JVM can handle
VirtualMachineError correctly
```
##########
components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaFetchRecords.java:
##########
@@ -191,6 +191,15 @@ public void run() {
}
safeConsumerClose();
+ } catch (VirtualMachineError e) {
+ // left as before: thrown on
Review Comment:
💬 **Nit:** The comment `// left as before: thrown on` is unfinished — the
sentence is cut off mid-phrase. What is it "thrown on"?
```suggestion
// left as before: re-thrown so the JVM can handle
VirtualMachineError correctly
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]