Skip to content

Improve LRO's Error Message on Timeout #1858

@lqiu96

Description

@lqiu96

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:

(Stretch)
Update the google-cloud-java README docs with more information and link it from the CancellationException.

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions