Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.
This repository was archived by the owner on May 14, 2026. It is now read-only.

Improve LRO's Error Message on Timeout #1858

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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