You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to trigger error action. My code is: child.on('error', function (err) { console.log('An error occured '+err); });
I can see that the error occurs and my server crashes and restarts. However, I want to be able to capture the event because inside of the listener I want to be able to log the error and send a warning email to myself.
I am curious what I am doing wrong, a similar issue is opened (#19) but that wasn't answered either.
The text was updated successfully, but these errors were encountered:
I am unable to trigger error action. My code is:
child.on('error', function (err) { console.log('An error occured '+err); });
I can see that the error occurs and my server crashes and restarts. However, I want to be able to capture the event because inside of the listener I want to be able to log the error and send a warning email to myself.
I am curious what I am doing wrong, a similar issue is opened (#19) but that wasn't answered either.
The text was updated successfully, but these errors were encountered: