Skip to content

Commit

Permalink
don't swallow uncaught exceptions (jsdoc#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
hegemonic committed Nov 10, 2012
1 parent 461bc2c commit f205e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit f205e2b

Please sign in to comment.