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
Thanks for reporting this! The issue you are experiencing is indeed a known problem, and we're working on a fix for a future release. This is because the ActivityCompletionClient is asynchronous and will not throw exceptions until the complete or completeExceptionally method is actually called. You can access the ActivityCompletionClient's error property to check for errors.
Until the fix is available, you can use a try-catch block to handle errors in an Activity. This might look like:
Expected Behavior
The client should throw an exception immidiatley
Actual Behavior
Calling activityCompletionClient.complete with an invalid task token, gives a timeout after a while instead of an error.
Steps to Reproduce the Problem
Caused by: io.grpc.StatusRuntimeException: UNKNOWN: unexpected EOF
Specifications
The text was updated successfully, but these errors were encountered: