Skip to content

Commit

Permalink
#14 Add exception message to status when http connection to controlle…
Browse files Browse the repository at this point in the history
…r fails

Signed-off-by: Christian Oeing <[email protected]>
Signed-off-by: Gerd Zanker <[email protected]>
  • Loading branch information
coeing authored and GerdZanker committed Jan 7, 2021
1 parent 34fc36a commit bfabace
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void initialize() {
httpClient.start();
} catch (Exception e) {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR,
"Could not create http connection to controller");
String.format("Could not create http connection to controller: %s", e.getMessage()));
return;
}

Expand Down

0 comments on commit bfabace

Please sign in to comment.