From 58d916e55b639942df6c110d89dcb591f2396e23 Mon Sep 17 00:00:00 2001 From: Matthew Nelson Date: Wed, 27 Sep 2023 06:15:09 -0400 Subject: [PATCH] Rework test exception handling --- .../sqlite/mc/driver/test/helper/TestHelperNonEphemeral.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/driver-test/src/commonTest/kotlin/io/toxicity/sqlite/mc/driver/test/helper/TestHelperNonEphemeral.kt b/library/driver-test/src/commonTest/kotlin/io/toxicity/sqlite/mc/driver/test/helper/TestHelperNonEphemeral.kt index f4c5922..142b9a6 100644 --- a/library/driver-test/src/commonTest/kotlin/io/toxicity/sqlite/mc/driver/test/helper/TestHelperNonEphemeral.kt +++ b/library/driver-test/src/commonTest/kotlin/io/toxicity/sqlite/mc/driver/test/helper/TestHelperNonEphemeral.kt @@ -72,7 +72,9 @@ abstract class TestHelperNonEphemeral: TestHelperBase() { .filesystemConfig .toString() - throw IllegalStateException(msg, ex) + testLogger(msg) + ex.printStackTrace() + throw ex } } }