8000 Wrap exception in InfluxDBClientError · Issue #416 · influxdata/influxdb-python · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
Wrap exception in InfluxDBClientError #416
Closed
@Don42

Description

@Don42

When trying to write to influx and the database is not available a requests ConnectionError is raised.
This happens after three retries at this location [0]. This exception should be wrapped or replaced with an InfluxDBClientError to simplify error handling for the user of the library.

[0] https://github.com/influxdata/influxdb-python/blob/master/influxdb/client.py#L246

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0