Skip to content

API docs/README should state that a default error event is bound #1659

@niftylettuce

Description

@niftylettuce

This wasn't obvious until I got a max listeners exceeded warning.

Ref:

bull/lib/queue.js

Lines 221 to 223 in ce5c91d

this.on('error', () => {
// Dummy handler to avoid process to exit with an unhandled exception.
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions