Copilot commented on code in PR #9312:
URL: https://github.com/apache/seatunnel/pull/9312#discussion_r2144121272
##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/multitablesink/MultiTableSinkWriter.java:
##########
@@ -317,7 +317,7 @@ public void close() throws IOException {
final Throwable[] firstE = {null};
try {
checkQueueRemain();
- } catch (Exception e) {
+ } catch (Throwable e) {
Review Comment:
[nitpick] Catching Throwable can obscure severe errors; consider catching
Exception to better differentiate between recoverable exceptions and critical
errors.
```suggestion
} catch (Exception e) {
```
--
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]