add missing parameter for status message ()

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
pull/18117/head
Bernd Weymann 2025-01-16 22:36:20 +01:00 committed by GitHub
parent dfeac547ca
commit 34f81c61a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions
bundles/org.openhab.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/server

View File

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