mirror of
https://github.com/documenso/documenso.git
synced 2025-11-20 03:32:14 +10:00
feat: only use background job scheduling with inngest
This commit is contained in:
@ -74,7 +74,8 @@ export class JobClient<T extends ReadonlyArray<JobDefinition> = []> {
|
||||
};
|
||||
|
||||
try {
|
||||
return await eligibleJob.handler({ payload, io });
|
||||
const result = await eligibleJob.handler({ payload, io });
|
||||
return result;
|
||||
} catch (error) {
|
||||
console.error(`Direct job execution failed for ${options.name}:`, error);
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user