From 3ff3e6890a694ab8ea2231b235d1b0cca4958272 Mon Sep 17 00:00:00 2001 From: James Hewitt-Thomas Date: Thu, 11 Aug 2016 21:53:06 +0100 Subject: [PATCH] Surface the error that occurs when the connection fails --- .../org/openhab/binding/rfxcom/handler/RFXComBridgeHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/binding/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/handler/RFXComBridgeHandler.java b/addons/binding/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/handler/RFXComBridgeHandler.java index b1953dec09603..073e5204c2ba2 100644 --- a/addons/binding/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/handler/RFXComBridgeHandler.java +++ b/addons/binding/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/handler/RFXComBridgeHandler.java @@ -213,7 +213,7 @@ private void connect() { } catch (NoSuchPortException e) { logger.error("Connection to RFXCOM transceiver failed: invalid port"); } catch (Exception e) { - logger.error("Connection to RFXCOM transceiver failed: {}", e.getMessage()); + logger.error("Connection to RFXCOM transceiver failed", e); } catch (UnsatisfiedLinkError e) { logger.error("Error occured when trying to load native library for OS '{}' version '{}', processor '{}'", System.getProperty("os.name"), System.getProperty("os.version"), System.getProperty("os.arch"), e);