[Java] Print error stack trace when tests fail main
authorMatt Corallo <git@bluematt.me>
Thu, 16 May 2024 01:20:26 +0000 (01:20 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 16 May 2024 01:20:26 +0000 (01:20 +0000)
src/test/java/org/ldk/HumanObjectPeerTest.java

index f61864cc0c0d21522493f991b742f298ebc95796..7a30f10ada867b8d3057def08919c140fb18c059 100644 (file)
@@ -1389,6 +1389,7 @@ public class HumanObjectPeerTest {
         } catch (Exception e) {
             System.err.println("Caught exception:");
             System.err.println(e);
         } catch (Exception e) {
             System.err.println("Caught exception:");
             System.err.println(e);
+            e.printStackTrace();
             System.exit(1);
         }
     }
             System.exit(1);
         }
     }