evernode-js-client 0.6.12 → 0.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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';
|