mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-29 12:34:21 +02:00
Reverting error messages (#20342)
Signed-off-by: gael@lhopital.org <gael@lhopital.org>
This commit is contained in:
+1
-2
@@ -242,8 +242,7 @@ public class ApiBridgeHandler extends BaseBridgeHandler {
|
||||
private void prepareReconnection(String message, Duration delay, @Nullable String code,
|
||||
@Nullable String redirectUri) {
|
||||
if (!ThingStatus.OFFLINE.equals(thing.getStatus())) {
|
||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR,
|
||||
"Reconnection in %s: %s".formatted(delay, message));
|
||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, message);
|
||||
}
|
||||
connectApi.dispose();
|
||||
freeConnectJob();
|
||||
|
||||
Reference in New Issue
Block a user