Import error handling and subscribe state

This commit is contained in:
Dries Augustyns
2025-12-03 21:52:17 +01:00
parent a28be9adc9
commit e4a43dfb57
8 changed files with 308 additions and 252 deletions
+2
View File
@@ -316,6 +316,7 @@ export class QueueService {
const state = await job.getState();
const progress = job.progress;
const returnValue = job.returnvalue;
const failedReason = job.failedReason;
return {
id: job.id,
@@ -323,6 +324,7 @@ export class QueueService {
progress,
result: returnValue,
data: job.data,
failedReason,
};
}