From 761900d187d62bf90c426c2070d114be899ea7fd Mon Sep 17 00:00:00 2001 From: smart_ex Date: Fri, 8 Jul 2022 18:14:19 +1000 Subject: [PATCH] set resubmitted job status --- src/queue/relayer.processor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/queue/relayer.processor.ts b/src/queue/relayer.processor.ts index e44aac5..6be89bd 100644 --- a/src/queue/relayer.processor.ts +++ b/src/queue/relayer.processor.ts @@ -31,6 +31,7 @@ export const relayerProcessor: RelayerProcessor = async (job) => { await job.update({ ...job.data, status: JobStatus.FAILED }); throw new RevertError(e.message, e.code); } + await job.update({ ...job.data, status: JobStatus.RESUBMITTED }); throw e; } };