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

Add a more informative error message when parsing ENV headers #3044

Merged
merged 4 commits into from
Nov 30, 2022

Conversation

ocelotl
Copy link
Contributor

@ocelotl ocelotl commented Nov 17, 2022

Fixes #2376

From #2375

Thanks, @cincodenada!

@ocelotl ocelotl requested a review from a team November 17, 2022 20:37
@ocelotl ocelotl self-assigned this Nov 17, 2022
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 17, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: ocelotl / name: Diego Hurtado (52ca7c7)

@ocelotl ocelotl force-pushed the issue_2376 branch 2 times, most recently from abe3430 to 52ca7c7 Compare November 18, 2022 14:00
CHANGELOG.md Show resolved Hide resolved
Also, rename the function to make it clear that this parsing is specific
to headers provided via ENV variables.

Fixes open-telemetry#2376
@ocelotl ocelotl added the Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary label Nov 30, 2022
@ocelotl ocelotl merged commit 212d50a into open-telemetry:main Nov 30, 2022
@ocelotl ocelotl deleted the issue_2376 branch November 30, 2022 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make error message about non-escaped ENV variables clearer
3 participants