Permalink
Browse files

Amend patch for issue #63, make sure an XProcException changes the ex…

…it status as well
  • Loading branch information...
ndw committed Jan 29, 2013
1 parent 18e802a commit 5fac356e9d78498e7064c90b60074a2944806373
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/com/xmlcalabash/drivers/Main.java
@@ -413,6 +413,7 @@ public void run(String[] args) throws SaxonApiException, IOException, URISyntaxE
System.out.println();
}
} catch (XProcException err) {
+ exitStatus = 1;
if (err.getErrorCode() != null) {
error(logger, null, errorMessage(err.getErrorCode()), err.getErrorCode());
} else {

0 comments on commit 5fac356

Please sign in to comment.