Skip to content

removeJob results in TypeError: Cannot read properties of undefined (reading '_evalScript') #518

@VityaSchel

Description

@VityaSchel

When trying to remove stalled job that is currently active but isn't processed by errored worker, trying to remove it results in error:

2|Telegram | /node_modules/bee-queue/lib/queue.js:458
2|Telegram |     const promise = this._evalScript(
2|Telegram |                          ^
2|Telegram |
2|Telegram | TypeError: Cannot read properties of undefined (reading '_evalScript')
2|Telegram |     at removeJob (/node_modules/bee-queue/lib/queue.js:458:26)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions