From f81becb592777d0154cb96cd04ffc3ca75898b64 Mon Sep 17 00:00:00 2001 From: Bernd Weymann Date: Thu, 16 Jan 2025 22:10:14 +0100 Subject: [PATCH] add missing parameter for status message Signed-off-by: Bernd Weymann --- .../binding/mercedesme/internal/server/MBWebsocket.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/server/MBWebsocket.java b/bundles/org.openhab.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/server/MBWebsocket.java index e774cfd647537..26c7ed05a9370 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/server/MBWebsocket.java +++ b/bundles/org.openhab.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/server/MBWebsocket.java @@ -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() + "\"]"); } }