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

Propagate errors from record consumer in debug exporter to the exporter #323

Open
npepinpe opened this issue Aug 1, 2022 · 0 comments
Open
Labels
good first issue Good for newcomers hacktoberfest type/bug Something isn't working

Comments

@npepinpe
Copy link
Collaborator

npepinpe commented Aug 1, 2022

Describe the bug

Right now, if the record consumer in the debug receiver throws an exception, the exporter receives an error but it's not clear what went wrong. We should propagate a proper error so we have some idea of what happened there.

To Reproduce

Create a new DebugReceiver and pass a consumer which just throws an exception.

Expected behavior

A clear error is returned, 502 with an actual error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest type/bug Something isn't working
Projects
Status: 1️⃣ Good First Issue
Development

No branches or pull requests

1 participant