mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[somfytahoma] fix NPE in case that HttpClient fails to start (#15442)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
This commit is contained in:
parent
512a94569f
commit
afd3b973b7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user