[ https://issues.apache.org/jira/browse/CASSANDRASC-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yifan Cai updated CASSANDRASC-65: --------------------------------- Fix Version/s: 1.0 Source Control Link: https://github.com/apache/cassandra-sidecar/commit/5597b7ec3c87d2dae202bb4f4ac583aeff902231 Resolution: Fixed Status: Resolved (was: Ready to Commit) > Enrich error message in RetriesExhaustedException for better visibility > ----------------------------------------------------------------------- > > Key: CASSANDRASC-65 > URL: https://issues.apache.org/jira/browse/CASSANDRASC-65 > Project: Sidecar for Apache Cassandra > Issue Type: Bug > Components: Rest API > Reporter: Yifan Cai > Assignee: Yifan Cai > Priority: Normal > Fix For: 1.0 > > > The current error message of RetriesExhaustedException only states that a > request exhausts the retries and fails. See below. It is not particularly > helpful when debugging. > I would like to enrich the error message to include the last response and > responding server to provide better context on the failed request. > {code:java} > Caused by: java.util.concurrent.CompletionException: > org.apache.cassandra.sidecar.client.exception.RetriesExhaustedException: > Unable to complete request 'my_request' after 1 attempt > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org