Attach exception messages to JUnit fail() calls
[lttng-ust-java-tests.git] / lttng-ust-java-tests-jul / src / test / java / org / lttng / ust / agent / integration / context / JulAppContextOrderingIT.java
index 1cef0d40e104497e9a364be340bd62583c8ef8ca..d3a2f6481e27ad775929b94c53ea324e5cc27358 100644 (file)
@@ -78,7 +78,7 @@ public class JulAppContextOrderingIT extends AppContextOrderingITBase {
         try {
             logHandler = new LttngLogHandler();
         } catch (SecurityException | IOException e) {
-            fail();
+            fail(e.getMessage());
         }
         logger.addHandler((Handler) logHandler);
     }
This page took 0.022685 seconds and 4 git commands to generate.