Add back to do not call exit() if error semantics.
Add back to do not call exit() if error semantics.

The previous commit removed the uncaught exception interception.
However that code was needed to get the process to write the
uncaught stack trace on failures.

Since messing with uncaught exception messes with the way we
exit the only way to know if exit is called from uncaught exception
is to monkey patch node core and keep track of the state

hayes/tape,Joris-van-der-Wel/tape,ajoslin/tape,gritzko/tape,MignonCornet/tape,beni55/tape,joakimbeng/tape,brycebaril/tape,Joris-van-der-Wel/tape,gritzko/tape,mstade/tape,ajoslin/tape,wbinnssmith/tape,IbpTeam/node-tape,webthusiast/tape,hafeez-syed/tape,wbinnssmith/tape,MignonCornet/tape,feross/tape,brycebaril/tape,hayes/tape,IbpTeam/node-tape,MignonCornet/tape,hayes/tape,webthusiast/tape,jtlapp/tape,substack/tape,ajoslin/tape,Joris-van-der-Wel/tape,hafeez-syed/tape,ljharb/tape,IbpTeam/node-tape,jtlapp/tape,joakimbeng/tape,substack/tape,brycebaril/tape,beni55/tape,webthusiast/tape,ljharb/tape,feross/tape,wbinnssmith/tape,mstade/tape,beni55/tape,jtlapp/tape,mstade/tape,hafeez-syed/tape,joakimbeng/tape,ljharb/tape,substack/tape,feross/tape,gritzko/tape