This is an automated email from the ASF dual-hosted git repository.

mhubail pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git

commit d46ed1409c623b3e59325043d08e040d87b4448e
Author: Hussain Towaileb <[email protected]>
AuthorDate: Mon Apr 7 22:48:45 2025 +0300

    [NO ISSUE]: do not lose thrown exceptions and interrupts P2
    
    Ext-ref: MB-65953
    Change-Id: I206f5b15e7a5090a97a362aed5693d3509d3213c
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19626
    Reviewed-by: Hussain Towaileb <[email protected]>
    Reviewed-by: Michael Blow <[email protected]>
    Tested-by: Hussain Towaileb <[email protected]>
---
 .../main/java/org/apache/asterix/external/util/ExternalDataUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataUtils.java
 
b/asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataUtils.java
index 8003fbe5be..01dae1c5b8 100644
--- 
a/asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataUtils.java
+++ 
b/asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataUtils.java
@@ -1890,7 +1890,7 @@ public class ExternalDataUtils {
                 } catch (IOException ex) {
                     throw CompilationException.create(EXTERNAL_SOURCE_ERROR, 
ex, getMessageOrToString(ex));
                 } catch (Exception ex) {
-                    throw new CompilationException(EXTERNAL_SOURCE_ERROR,
+                    throw CompilationException.create(EXTERNAL_SOURCE_ERROR, 
ex,
                             "Encountered an issue while processing the JSON 
credentials. Please ensure the provided credentials are valid.");
                 }
             } else {

Reply via email to