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

Diagnostics: Fixes substatuscode when recording internal DocumentClientException #2071

Merged
merged 2 commits into from
Dec 16, 2020

Conversation

j82w
Copy link
Contributor

@j82w j82w commented Dec 16, 2020

Pull Request Template

Description

The PointOperationStatistic was recording the default substatus code instead of getting the value from the exception.

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

Closing issues

To automatically close an issue: closes #IssueNumber

@j82w j82w added the Diagnostics Issues around diagnostics and troubleshooting label Dec 16, 2020
@j82w j82w self-assigned this Dec 16, 2020
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the required format: "[Internal] Category: (Adds|Fixes|Refactors) Description"

Examples:
Diagnostics: Adds GetElapsedClientLatency to CosmosDiagnostics
PartitionKey: Fixes null reference when using default(PartitionKey)
[v4] Client Encryption: Refactors code to external project
[Internal] Query: Adds code generator for CosmosNumbers for easy additions in the future.

@j82w j82w changed the title Diagnostics: Fix substatuscode when recording document client exceptions Diagnostics: Fixes substatuscode when recording document client exceptions Dec 16, 2020
@j82w j82w changed the title Diagnostics: Fixes substatuscode when recording document client exceptions Diagnostics: Fixes substatuscode when recording internal DocumentClientException Dec 16, 2020
ealsur
ealsur previously approved these changes Dec 16, 2020
@j82w j82w merged commit 0b4001b into master Dec 16, 2020
@j82w j82w deleted the users/jawilley/diagnostics/substatusfix branch December 16, 2020 22:05
ealsur pushed a commit that referenced this pull request Dec 17, 2020
…ntException (#2071)

* Diagnostics: Fix substatuscode

* Fix TransientHttpClientRetryPolicy status code
j82w pushed a commit that referenced this pull request Dec 17, 2020
Cherry-picking commits for the release

#2069
#2047
#2071
#2042
Version bump from #2072
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.

None yet

2 participants