[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 Jacob Laursen
parent 512a94569f
commit afd3b973b7

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