From 41f538feb99c992a5ff22f31359ce3b6e5a5e3ae Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Mon, 28 Jan 2013 20:58:27 -0800 Subject: [PATCH] exit after catching a Rhino exception (#325) --- jsdoc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jsdoc.js b/jsdoc.js index 5265df4d..553297e1 100644 --- a/jsdoc.js +++ b/jsdoc.js @@ -281,6 +281,7 @@ catch(e) { env.run.finish = new Date(); if (e.rhinoException != null) { e.rhinoException.printStackTrace(); + process.exit(1); } else { throw e; }