You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK does not differentiate between gRPC status codes received e.g. during translation, and converts all of them into string messages. This makes it difficult for consumers to detect when the failure is a transient one that should succeed after a couple tries, such as when the translation backend is under load and temporarily rejects new requests.
The text was updated successfully, but these errors were encountered:
After hacking on this locally, I've determined there isn't a good way to implement retrying in a centralized way until hyperium/tonic#733 is resolved. Even then, such a centralized implementation should live in the API client packages rather than the higher-level SDK.
Until then, a simpler way to handle this in the SDK is to expose the actual gRPC Status through the error instead of converting into a String.
The SDK does not differentiate between gRPC status codes received e.g. during translation, and converts all of them into string messages. This makes it difficult for consumers to detect when the failure is a transient one that should succeed after a couple tries, such as when the translation backend is under load and temporarily rejects new requests.
The text was updated successfully, but these errors were encountered: