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
Just had an issue on Gitter where a users code was causing process.exit(1) to be called. He got the "test.js exited with a non-zero exit code message", but there was no helpful information.
I say we try and capture that somehow:
varoldExit=process.exit;process.exit=function(code){if(code>0){varstack=newError().stack;// log it? send it to parent?// ...}oldExit.apply(process,arguments);};
There is a $60.00 open bounty on this issue. Add more on Issuehunt.