Skip to content

Wrap fn.call in try/catch for error handling #4

@tunnckoCore

Description

@tunnckoCore

Then when there's error, this.emit('error', err), in bonus we can try to call onError handler from options.
All that will help a lot I think.

This also should be done in core base's .use, wanna PRs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions