Use e.printStackTrace()

This commit is contained in:
AsamK 2016-03-27 17:03:57 +02:00
parent cc0177da10
commit 083e33c4da

View file

@ -463,7 +463,7 @@ public class Main {
private static void handleAssertionError(AssertionError e) { private static void handleAssertionError(AssertionError e) {
System.err.println("Failed to send/receive message (Assertion): " + e.getMessage()); System.err.println("Failed to send/receive message (Assertion): " + e.getMessage());
System.err.println(e.getStackTrace()); e.printStackTrace();
System.err.println("If you use an Oracle JRE please check if you have unlimited strength crypto enabled, see README"); System.err.println("If you use an Oracle JRE please check if you have unlimited strength crypto enabled, see README");
System.exit(1); System.exit(1);
} }