>From Hussain Towaileb <[email protected]>:

Hussain Towaileb has submitted this change. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19626 )

Change subject: [NO ISSUE]: do not lose thrown exceptions and interrupts P2
......................................................................

[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]>
---
M 
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataUtils.java
1 file changed, 15 insertions(+), 1 deletion(-)

Approvals:
  Michael Blow: Looks good to me, approved
  Hussain Towaileb: Looks good to me, but someone else must approve; Verified




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 8003fbe..01dae1c 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 @@
                 } 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 {

--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19626
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings

Gerrit-Project: asterixdb
Gerrit-Branch: neo
Gerrit-Change-Id: I206f5b15e7a5090a97a362aed5693d3509d3213c
Gerrit-Change-Number: 19626
Gerrit-PatchSet: 2
Gerrit-Owner: Hussain Towaileb <[email protected]>
Gerrit-Reviewer: Hussain Towaileb <[email protected]>
Gerrit-Reviewer: Michael Blow <[email protected]>
Gerrit-CC: Anon. E. Moose #1000171
Gerrit-CC: Jenkins <[email protected]>
Gerrit-MessageType: merged

Reply via email to