Catch null host exception in discovery service (#17924)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
mlobstein 2024-12-18 13:13:08 -06:00 committed by Ciprian Pascu
parent df632b3c80
commit 23a2b0c991

View File

@ -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--;