set resubmitted job status

This commit is contained in:
smart_ex 2022-07-08 18:14:19 +10:00
parent 15d5529876
commit 761900d187

View File

@ -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;
}
};