Skip to content

HTTP errors are handled inconsistently #82

@Zero3

Description

@Zero3

Calling WriteAsync returns a IInfluxDataApiResponse which has the Success, StatusCode and Body properties. This implies that both successes and failures in calling InfluxDB will be communicated through the returned object.

But when the HTTP request to the database returns a HTTP 500 or 502 status, an InfluxDataApiException is thrown instead. This exception is undocumented and inconsistent with the return object. I think this is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions