DataDog / datadogpy

The Datadog Python library
https://datadoghq.com/
Other
605 stars 303 forks source link

Adds some extra description to socket errors in order to distinguish similar errors #798

Open scottopell opened 9 months ago

scottopell commented 9 months ago

What does this PR do?

Currently there are two branches in this exception handler that print the exact same text. This PR adds some way to distinguish them if they appear in error logs.

Description of the Change

This PR fixes one small typo in a comment and then adds some additional context to one of the error types in order to distinguish them.

Docs for herror and gaierror

Alternate Designs

Possible Drawbacks

Verification Process

Additional Notes

Release Notes

Review checklist (to be filled by reviewers)

github-actions[bot] commented 8 months ago

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.