@haven-fi/solauto-sdk 1.0.179 → 1.0.180
Sign up to get free protection for your applications and to get access to all the features.
@@ -339,7 +339,7 @@ class TransactionsManager {
|
|
339
339
|
const errorDetails = (0, transactionUtils_1.getErrorInfo)(tx, e);
|
340
340
|
this.updateStatus(txName, errorDetails.canBeIgnored
|
341
341
|
? TransactionStatus.Skipped
|
342
|
-
: TransactionStatus.Failed, attemptNum, undefined, undefined, errorDetails.errorInfo ?? "Unknown error");
|
342
|
+
: TransactionStatus.Failed, attemptNum, undefined, undefined, errorDetails.errorInfo ?? errorDetails.errorName ?? "Unknown error");
|
343
343
|
this.txHandler.log(`${errorDetails.errorName ?? "Unknown error"}: ${errorDetails.errorInfo ?? "unknown"}`);
|
344
344
|
if (!errorDetails.canBeIgnored) {
|
345
345
|
throw e;
|
package/package.json
CHANGED
@@ -542,7 +542,7 @@ export class TransactionsManager {
|
|
542
542
|
attemptNum,
|
543
543
|
undefined,
|
544
544
|
undefined,
|
545
|
-
errorDetails.errorInfo ?? "Unknown error"
|
545
|
+
errorDetails.errorInfo ?? errorDetails.errorName ?? "Unknown error"
|
546
546
|
);
|
547
547
|
this.txHandler.log(`${errorDetails.errorName ?? "Unknown error"}: ${errorDetails.errorInfo ?? "unknown"}`);
|
548
548
|
|