This is an automated email from the ASF dual-hosted git repository.
mpochatkin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 43260e7b05 IGNITE-22533 Extra error when trying to run non-existant
sql file (#3997)
43260e7b05 is described below
commit 43260e7b0548ba5fbf917d368b664e6d3eab82aa
Author: Vadim Pakhnushev <[email protected]>
AuthorDate: Thu Jun 27 14:04:38 2024 +0300
IGNITE-22533 Extra error when trying to run non-existant sql file (#3997)
---
.../cli/core/exception/handler/PicocliExecutionExceptionHandler.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/modules/cli/src/main/java/org/apache/ignite/internal/cli/core/exception/handler/PicocliExecutionExceptionHandler.java
b/modules/cli/src/main/java/org/apache/ignite/internal/cli/core/exception/handler/PicocliExecutionExceptionHandler.java
index f4949ad3c4..9061c9d621 100644
---
a/modules/cli/src/main/java/org/apache/ignite/internal/cli/core/exception/handler/PicocliExecutionExceptionHandler.java
+++
b/modules/cli/src/main/java/org/apache/ignite/internal/cli/core/exception/handler/PicocliExecutionExceptionHandler.java
@@ -33,7 +33,8 @@ public class PicocliExecutionExceptionHandler implements
IExecutionExceptionHand
}
public PicocliExecutionExceptionHandler(ExceptionHandlers
exceptionHandlers) {
- this.exceptionHandlers = exceptionHandlers;
+ this.exceptionHandlers = new DefaultExceptionHandlers();
+ this.exceptionHandlers.addExceptionHandlers(exceptionHandlers);
}
@Override