CalvinKirs commented on a change in pull request #1562:
URL:
https://github.com/apache/incubator-seatunnel/pull/1562#discussion_r835049650
##########
File path:
seatunnel-core/seatunnel-core-base/src/main/java/org/apache/seatunnel/command/BaseTaskExecuteCommand.java
##########
@@ -85,7 +85,7 @@ protected final void close(List<? extends Plugin<E>>...
plugins) {
for (Plugin<E> plugin : pluginList) {
try (Plugin<?> closed = plugin) {
// ignore
- } catch (Throwable e) {
+ } catch (Exception e) {
Review comment:
Throwable is the superclass of all errors and exceptions in Java. Error
is the superclass of all errors, which are not meant to be caught by
applications.
--
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]