mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-01-31 10:13:27 -05:00
set resubmitted job status
This commit is contained in:
parent
15d5529876
commit
761900d187
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user