Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support influxdb v1.8 HTTP error response message (#134)
An influxdb v1.8 HTTP error response message was not correctly transfered to the ruby InfluxError message. In case of an InfuxError, the reason (error message) was not traceable. How the fix works: - InfluxDB v1.8 and v2.x provide Error details in the json-rsp body - InfluxDB v2.x uses the `message` key for this - InfluxDB v1.8 uses the `error` key for this -> previously only `message` was supported -> now, in case `message` is empty, `error` is checked Refs: #133
- Loading branch information