We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b70454e commit a56cb78Copy full SHA for a56cb78
src/worker/tasks/retryTx.ts
@@ -58,6 +58,7 @@ export const retryTx = async () => {
58
logger.worker.warn(
59
`[Transaction] [${tx.id}] ${tx.chainId} chain gas price is higher than maximum threshold.`,
60
);
61
+
62
return;
63
}
64
@@ -81,6 +82,18 @@ export const retryTx = async () => {
81
82
`[Transaction] [${tx.id}] Failed to retry with error - ${err}`,
83
84
85
+ await updateTx({
86
+ pgtx,
87
+ queueId: tx.id,
88
+ data: {
89
+ status: TransactionStatusEnum.Errored,
90
+ errorMessage:
91
+ err?.message ||
92
+ err?.toString() ||
93
+ `Failed to handle transaction`,
94
+ },
95
+ });
96
97
98
99
0 commit comments