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 field_name to ConfigurationError messages on init #2133

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

radupotop
Copy link

What does this pull request do?

Make ConfigurationError messages more descriptive on init. This is especially useful where ENV variables are not set.

Turns this error message:

ERROR      {/usr/local/lib/python3.10/site-packages/elasticapm/base.py}  is not a float

into this:

ERROR      {/usr/local/lib/python3.10/site-packages/elasticapm/base.py} TRANSACTION_SAMPLE_RATE= is not a float

Copy link

cla-checker-service bot commented Oct 3, 2024

💚 CLA has been signed

@github-actions github-actions bot added agent-python community Issues opened by the community triage Issues awaiting triage labels Oct 3, 2024
@radupotop
Copy link
Author

Signed CLA

@xrmx
Copy link
Member

xrmx commented Oct 10, 2024

@radupotop thanks for the PR, please run black on it and I'll review it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-python community Issues opened by the community triage Issues awaiting triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants