[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
7ab04b20a1
commit
39bbaa8c85
@ -195,7 +195,7 @@ public class SomfyTahomaBridgeHandler extends BaseBridgeHandler {
|
|||||||
try {
|
try {
|
||||||
httpClient.start();
|
httpClient.start();
|
||||||
} catch (Exception e) {
|
} 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;
|
return;
|
||||||
}
|
}
|
||||||
// Remove the WWWAuth protocol handler since Tahoma is not fully compliant
|
// Remove the WWWAuth protocol handler since Tahoma is not fully compliant
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user