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 / events / JulLegacyApiIT.java
index 9a20f89a48b06627948f7a8f10cc850dde7a2277..35d70baaf71f8900719a10e4d95054f0502f15d9 100644 (file)
@@ -183,7 +183,7 @@ public class JulLegacyApiIT {
             julHandlerField.setAccessible(true);
             return (ILttngHandler) julHandlerField.get(LTTngAgent.getLTTngAgent());
         } catch (ReflectiveOperationException | SecurityException e) {
-            fail();
+            fail(e.getMessage());
             return null;
         }
     }
This page took 0.022816 seconds and 4 git commands to generate.