Attach exception messages to JUnit fail() calls
[lttng-ust-java-tests.git] / lttng-ust-java-tests-log4j / src / test / java / org / lttng / ust / agent / integration / context / Log4jAppContextOrderingIT.java
index 69e45bc09d8ed3e3dca879dee87d85689e180e62..7b69351f761e59c875b8b74cb1cec7276cfedb1b 100644 (file)
@@ -78,7 +78,7 @@ public class Log4jAppContextOrderingIT extends AppContextOrderingITBase {
         try {
             logHandler = new LttngLogAppender();
         } catch (SecurityException | IOException e) {
-            fail();
+            fail(e.getMessage());
         }
         logger.addAppender((Appender) logHandler);
     }
This page took 0.024261 seconds and 4 git commands to generate.