[worker] add more logs to queue-worker (#3982)
This commit is contained in:
@ -42,7 +42,12 @@ async function bootstrap() {
|
||||
try {
|
||||
await job.handle(jobData.data);
|
||||
} catch (err) {
|
||||
exceptionHandlerService?.captureExceptions([err]);
|
||||
exceptionHandlerService?.captureExceptions([
|
||||
new Error(
|
||||
`Error occurred while processing job ${jobClassName} #${jobData.id}`,
|
||||
),
|
||||
err,
|
||||
]);
|
||||
throw err;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user