Skip to content

Commit

Permalink
Update failure handling for UpdateSettingsResponseHandler
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Bogan <[email protected]>
  • Loading branch information
ryanbogan committed Dec 22, 2022
1 parent d80cfd4 commit be2a74b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public AcknowledgedResponse read(StreamInput in) throws IOException {
@Override
public void handleResponse(AcknowledgedResponse response) {
logger.info("response {}", response.getStatus());
if (!response.getStatus()) {
handleException(new TransportException("Request was not completed successfully"));
}
}

@Override
Expand Down

0 comments on commit be2a74b

Please sign in to comment.