Skip to content

Commit

Permalink
add missing parameter for status message (openhab#18115)
Browse files Browse the repository at this point in the history
Signed-off-by: Bernd Weymann <[email protected]>
  • Loading branch information
weymann authored Jan 16, 2025
1 parent dfeac54 commit 34f81c6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ public void onConnect(Session session) {

@OnWebSocketError
public void onError(Throwable t) {
logger.warn("onError {}", t.getMessage());
accountHandler.updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR,
"@text/mercedesme.account.status.websocket-failure");
"@text/mercedesme.account.status.websocket-failure [\"" + t.getMessage() + "\"]");
}
}

0 comments on commit 34f81c6

Please sign in to comment.