opentelemetry-dotnet-contrib icon indicating copy to clipboard operation
opentelemetry-dotnet-contrib copied to clipboard

[Instrumentation.Http] Set error description and error type for Task Cancellation on HTTPClient

Open jdt opened this issue 9 months ago • 2 comments

When HTTPClient Task Cancellation occurs, set the status message and assign error.type

Fixes #1812.

Changes

  • Set an error description
  • Set error.type

For significant contributions please make sure you have completed the following items:

  • [x] Appropriate CHANGELOG.md updated for non-trivial changes
  • [ ] Design discussion issue #
  • [ ] Changes in public API reviewed

jdt avatar May 22 '24 08:05 jdt