Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CosmosOperationCanceledException: Fix handler to catch all operation cancelled exceptions #1666

Merged
merged 3 commits into from
Jun 26, 2020

Conversation

j82w
Copy link
Contributor

@j82w j82w commented Jun 25, 2020

Pull Request Template

Description

CosmosOperationCanceledException catch logic is moved up into the inline helper. This fixes an issue where some OperationCanceledException where not getting converted because some caches and other operations do not use the request invoker.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@j82w j82w added the Diagnostics Issues around diagnostics and troubleshooting label Jun 25, 2020
@j82w j82w self-assigned this Jun 25, 2020
@j82w j82w merged commit b0493ae into master Jun 26, 2020
@j82w j82w deleted the users/jawilley/bug/operationCancelled branch June 26, 2020 17:13
kirankumarkolli pushed a commit that referenced this pull request Jul 11, 2020
…cancelled exceptions (#1666)

* Updated operation cancelled exception handling

* Added tests to verify the new exception is used.
@ghost
Copy link

ghost commented Dec 15, 2021

Closing due to in-activity, pease feel free to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Diagnostics Issues around diagnostics and troubleshooting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants