diff --git a/jsdoc.js b/jsdoc.js index 2005d9e9..6996b5f7 100644 --- a/jsdoc.js +++ b/jsdoc.js @@ -426,12 +426,12 @@ function main() { try { main(); } catch(e) { if (e.rhinoException != null) { - e.rhinoException.printStackTrace(); + // TODO: print to stderr + e.rhinoException.printStackTrace(); } else { throw e; } } finally { env.run.finish = new Date(); - process.exit(0); }