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

Report traceback error for http_client errors #806

Open
gmckeever opened this issue Dec 15, 2023 · 1 comment
Open

Report traceback error for http_client errors #806

gmckeever opened this issue Dec 15, 2023 · 1 comment
Labels
kind/feature-request Feature request related issue stale Stale - Bot reminder

Comments

@gmckeever
Copy link

Is your feature request related to a problem? Please describe.
There is currently a hardcoded error message "Datadog API client was unable to resolve a HTTP client..." that reports when there is any issues with the request library within resolve_http_client():

raise ImportError(
u"Datadog API client was unable to resolve a HTTP client. " u" Please install `requests` library."

Describe the solution you'd like
It would be helpful to instead provide the specific traceback error that caused the library to fail.

Describe alternatives you've considered
Traceback errors can be still be obtained, but the generic error is what will be first encountered.

@gmckeever gmckeever added the kind/feature-request Feature request related issue label Dec 15, 2023
Copy link

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.

If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of this project.

  2. Comment that the issue is still reproducible and include updated details requested in the issue template.

@github-actions github-actions bot added the stale Stale - Bot reminder label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature-request Feature request related issue stale Stale - Bot reminder
Projects
None yet
Development

No branches or pull requests

1 participant