[somfytahoma] fix NPE in case that HttpClient fails to start (#15442)

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
This commit is contained in:
Ondrej Pecta
2023-08-16 20:15:18 +02:00
committed by GitHub
parent 7ab04b20a1
commit 39bbaa8c85

View File

@@ -195,7 +195,7 @@ public class SomfyTahomaBridgeHandler extends BaseBridgeHandler {
try {
httpClient.start();
} catch (Exception e) {
logger.debug("Cannot start http client for: {}", thing.getBridgeUID().getId(), e);
logger.debug("Cannot start http client for: {}", thing.getUID(), e);
return;
}
// Remove the WWWAuth protocol handler since Tahoma is not fully compliant