Skip to content

Commit

Permalink
print Java exception stack trace, not just message, to diagnose issue…
Browse files Browse the repository at this point in the history
…s better.
  • Loading branch information
Atsushi Eno committed Nov 27, 2012
1 parent 20f9878 commit a26b7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Start.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public static void main (String[] args)
for (JavaPackage pkg : jar.getPackages ())
pkg.appendToDocument (doc, root);
} catch (Exception e) {
System.err.println (e);
e.printStackTrace ();
System.err.println ("error J2X0002: API analyzer failed with java exception. See verbose output for details.");
System.exit (1);
}
Expand Down

0 comments on commit a26b7f2

Please sign in to comment.