exit after catching a Rhino exception (#325)

This commit is contained in:
Jeff Williams 2013-01-28 20:58:27 -08:00
parent f85a74d9fe
commit 41f538feb9

View File

@ -281,6 +281,7 @@ catch(e) {
env.run.finish = new Date();
if (e.rhinoException != null) {
e.rhinoException.printStackTrace();
process.exit(1);
} else {
throw e;
}