From 54f09ff56eef4d66f3bb7e694e65d611a2aace76 Mon Sep 17 00:00:00 2001 From: Cody Cutrer Date: Sun, 24 Oct 2021 20:18:15 -0600 Subject: [PATCH] Include full exception when WatchQueueReader thread dies See #2537 Signed-off-by: Cody Cutrer --- .../main/java/org/openhab/core/service/WatchQueueReader.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bundles/org.openhab.core/src/main/java/org/openhab/core/service/WatchQueueReader.java b/bundles/org.openhab.core/src/main/java/org/openhab/core/service/WatchQueueReader.java index 5614d5c1d2e..5a0f007e4aa 100644 --- a/bundles/org.openhab.core/src/main/java/org/openhab/core/service/WatchQueueReader.java +++ b/bundles/org.openhab.core/src/main/java/org/openhab/core/service/WatchQueueReader.java @@ -274,8 +274,7 @@ public void run() { key.reset(); } } catch (Exception exc) { - logger.debug("ClosedWatchServiceException caught! {}. \n{} Stopping ", exc.getLocalizedMessage(), - Thread.currentThread().getName()); + logger.error("Exception caught in WatchQueueReader: ", exc); return; } }