base-plugins
base-plugins copied to clipboard
Wrap fn.call in try/catch for error handling
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?