Improve LRO's Error Message on Timeout #1858
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
We should provide customers a more detailed error message when there is a timeout for LROs. Customers are seeing
CancellationException
with no message or additional info and have no idea how to proceed. It may be perceived as an error on their end when it is just a timeout from Gax. We should specify that they can try to update the Retry configurations.Possible fix:
Update the
CancellationException()
to throw a more detailed error message:sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/longrunning/OperationTimedPollAlgorithm.java
Line 80 in aeea0d1
(Stretch)
Update the google-cloud-java README docs with more information and link it from the CancellationException.
The text was updated successfully, but these errors were encountered: