Skip to content

Commit

Permalink
Catch null host exception in discovery service (#17924)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Lobstein <[email protected]>
  • Loading branch information
mlobstein authored Dec 18, 2024
1 parent 2f7b727 commit 29915c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private synchronized String request(String uri) throws BondException {

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--;
Expand Down

0 comments on commit 29915c4

Please sign in to comment.