Skip to content

Fix error handling when sending traces to the agent#850

Merged
kevingosse merged 1 commit into
masterfrom
kevin/httpstatuscode
Aug 13, 2020
Merged

Fix error handling when sending traces to the agent#850
kevingosse merged 1 commit into
masterfrom
kevin/httpstatuscode

Conversation

@kevingosse

@kevingosse kevingosse commented Aug 11, 2020

Copy link
Copy Markdown
Contributor

After switching from HttpClient to HttpWebRequest, we were not handling error status code properly.

Also fixed an old issue that status code 300 was considered as "success".

@kevingosse
kevingosse requested a review from a team as a code owner August 11, 2020 11:16

@lucaspimentel lucaspimentel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice, thanks!

@lucaspimentel
lucaspimentel requested a review from a team August 11, 2020 12:40
@kevingosse
kevingosse merged commit ab1b1eb into master Aug 13, 2020
@kevingosse
kevingosse deleted the kevin/httpstatuscode branch August 13, 2020 09:51
@zacharycmontoya zacharycmontoya added this to the 1.19.2 milestone Aug 31, 2020
@zacharycmontoya zacharycmontoya added the area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) label Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants