diff --git a/common/src/main/java/haveno/common/UserThread.java b/common/src/main/java/haveno/common/UserThread.java index 3055a200..088f7a59 100644 --- a/common/src/main/java/haveno/common/UserThread.java +++ b/common/src/main/java/haveno/common/UserThread.java @@ -72,8 +72,13 @@ public class UserThread { } else { CountDownLatch latch = new CountDownLatch(1); execute(() -> { - command.run(); - latch.countDown(); + try { + command.run(); + } catch (Exception e) { + throw e; + } finally { + latch.countDown(); + } }); try { latch.await();