Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #133 - support influxdb v1.8 HTTP error response message
An influxdb v1.8 HTTP error response message was not correctly transfered to ruby InfluxError message. In case of an InfuxError, the reason (except status code) 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
- Loading branch information