Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property \'id\' of undefined' #252

Closed
btmdave opened this issue Oct 16, 2013 · 0 comments
Closed

Cannot read property \'id\' of undefined' #252

btmdave opened this issue Oct 16, 2013 · 0 comments
Milestone

Comments

@btmdave
Copy link

btmdave commented Oct 16, 2013

Hello,

We get this error alot if a job fails or if for whatever reason it doesn't complete, this causes the server throw this error everytime we start it up, the only solution is to flush redis. Any idea if there's a way we can hook into this to ensure the id is there?

 [ 'TypeError: Cannot read property \'id\' of undefined',
     '    at /server/node_modules/kue/lib/queue/job.js:85:17',
     '    at /server/node_modules/kue/lib/queue/job.js:158:28',

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants