mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 07:02:02 +01:00
Catch null host exception in discovery service (#17924)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
parent
2f7b727d14
commit
29915c434c
@ -244,7 +244,7 @@ public class BondHttpApi {
|
||||
|
||||
logger.debug("HTTP response from request to {}: {}", uri, httpResponse);
|
||||
return httpResponse;
|
||||
} catch (InterruptedException | TimeoutException | ExecutionException e) {
|
||||
} catch (InterruptedException | TimeoutException | ExecutionException | IllegalArgumentException e) {
|
||||
logger.debug("Last request to Bond Bridge failed; {} retries remaining: {}", numRetriesRemaining,
|
||||
e.getMessage());
|
||||
numRetriesRemaining--;
|
||||
|
Loading…
Reference in New Issue
Block a user