evernode-js-client 0.6.12 → 0.6.13
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -17494,7 +17494,7 @@ class XrplApi {
|
|
17494
17494
|
if (txResult.code === "tesSUCCESS")
|
17495
17495
|
return { ...txResult, ...(hookExecRes ? { hookExecutionResult: hookExecRes } : {}) };
|
17496
17496
|
else
|
17497
|
-
|
17497
|
+
throw { ...txResult, ...(hookExecRes ? { hookExecutionResult: hookExecRes } : {}) };
|
17498
17498
|
}
|
17499
17499
|
else
|
17500
17500
|
throw resultCode ? `Transaction failed with error ${resultCode}` : 'Transaction failed';
|