Automattic / Automattic/kue

Fatal Error when job attempt fails

Open
#733 2 comments 0 reactions 0 assignees View on GitHub
need more info
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

TypeError: Object # has no method 'emit'
at C:\Users\ec2-user\cps-mailin\node_modules\kue\lib\queue\job.js:574:18
at C:\Users\ec2-user\cps-mailin\node_modules\kue\lib\queue\job.js:542:24

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failed job attempt and read node_modules/kue/lib/queue/job.js around lines 542 and 574, where the TypeError occurs. Trace which object is expected to provide emit and confirm the failure no longer occurs when a job attempt fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.