You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
The problem is that if we fail to connect, the ConnectionError that is raised does not have any of the information about what actually failed, making it really hard to debug from the exception message.
A possibly alternative might be something like this:
This will re-raise the exception that caused the failure, with the contextual information about what actually happened.
The text was updated successfully, but these errors were encountered:
thomir
changed the title
InfluxDBClient.request discards error detailswhen raising exceptionInfluxDBClient.request discards error details when raising exception
Oct 30, 2017
Uh oh!
There was an error while loading. Please reload this page.
The
InfluxDBClient.request
method contains code to make a request to the influxdb server that looks like this:The problem is that if we fail to connect, the ConnectionError that is raised does not have any of the information about what actually failed, making it really hard to debug from the exception message.
A possibly alternative might be something like this:
This will re-raise the exception that caused the failure, with the contextual information about what actually happened.
The text was updated successfully, but these errors were encountered: