Skip to content

Commit

Permalink
Update failure handling in UpdateSettingsResponseHandler
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
  • Loading branch information
ryanbogan committed Dec 22, 2022
1 parent f974304 commit f46fc9c
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 f46fc9c

Please sign in to comment.