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

[exporter/otlphttp] Partial success handlers should return error when invalid content type is returned #9413

Open
tvaintrob opened this issue Jan 29, 2024 · 2 comments
Labels
bug Something isn't working exporter/otlp

Comments

@tvaintrob
Copy link
Contributor

Describe the bug

Currently when an invalid content-type is returned to the partial success handlers a nil is returned, an error should be returned instead

What did you expect to see?

An error returned

What did you see instead?

A nil is returned

What version did you use?

Latest main

@atoulme
Copy link
Contributor

atoulme commented Jan 29, 2024

Thanks for the report Tal! Would you like to work on this? A failing unit test would help speed up delivery of a fix.

@TylerHelmuth
Copy link
Member

@atoulme this issue is a result of #9276 (comment). We're aware but will do the functionality change it is own PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/otlp
Projects
None yet
Development

No branches or pull requests

3 participants