From 00b310ba01f577a303a17ae76c36d36f6cbc9e3d Mon Sep 17 00:00:00 2001 From: James McMullan Date: Mon, 13 May 2024 12:00:34 -0400 Subject: [PATCH] Code review changes --- .../java/org/hpccsystems/ws/client/BaseRemoteTest.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/wsclient/src/test/java/org/hpccsystems/ws/client/BaseRemoteTest.java b/wsclient/src/test/java/org/hpccsystems/ws/client/BaseRemoteTest.java index 55036186b..014bd1f3c 100644 --- a/wsclient/src/test/java/org/hpccsystems/ws/client/BaseRemoteTest.java +++ b/wsclient/src/test/java/org/hpccsystems/ws/client/BaseRemoteTest.java @@ -101,7 +101,14 @@ public abstract class BaseRemoteTest @BeforeClass public static void initCheck() { - Assert.assertTrue("Error initializing test suite: " + initializationException.getLocalizedMessage(), initialized); + String exceptionMessage = ""; + if (initializationException != null) + { + exceptionMessage = initializationException.getLocalizedMessage(); + initializationException.printStackTrace(); + } + + Assert.assertTrue("Error initializing test suite: " + exceptionMessage, initialized); } public static void initialize() throws Exception