-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hey,
Is there a specific reason for emitting uncaughtException to the process instead of returning as an error in the callback?
try {
unwrappedDenormFn.call(this, evtData, vm, wrappedCallback.bind(this));
} catch (e) {
debug(e);
process.emit('uncaughtException', e); // Why not do - wrappedCallback.apply(this, [e]);
}
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels