base-plugins icon indicating copy to clipboard operation
base-plugins copied to clipboard

Wrap fn.call in try/catch for error handling

Open tunnckoCore opened this issue 9 years ago • 0 comments

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?

tunnckoCore avatar Aug 12 '16 20:08 tunnckoCore