Skip to content

impr(handle-null-job): ignore not found jobs#263

Open
mhshiba wants to merge 1 commit intoejhayes:mainfrom
mhshiba:impr/null-job
Open

impr(handle-null-job): ignore not found jobs#263
mhshiba wants to merge 1 commit intoejhayes:mainfrom
mhshiba:impr/null-job

Conversation

@mhshiba
Copy link
Copy Markdown

@mhshiba mhshiba commented Apr 2, 2025

Fix this bug:

TypeError
TypeError: Cannot read properties of undefined (reading 'name')
    at QueueEvents.<anonymous> (/src/bull/bullmq-metrics.factory.ts:252:37)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

IDK why a completed job can't be found, but it makes sense to me to add this safe guard.

@ejhayes ejhayes mentioned this pull request Dec 18, 2025
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant