Skip to content

Commit

Permalink
Surface the error that occurs when the connection fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamstah committed Aug 11, 2016
1 parent 65114cc commit 3ff3e68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3ff3e68

Please sign in to comment.