InfluxCommunity / influxdb3-go

The go package that provides a simple and convenient way to interact with InfluxDB 3.
https://pkg.go.dev/github.com/InfluxCommunity/influxdb3-go
MIT License
21 stars 11 forks source link

fix: InfluxDB Edge/OSS error handling #89

Open alespour opened 1 week ago

alespour commented 1 week ago

Proposed Changes

InfluxDB Edge (OSS) returns slightly different payload when error occurs. This PR extends error handling with support for Edge errors.

Tested with OSS aa28302

Checklist

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.57%. Comparing base (4b4275c) to head (a04bbbd).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #89 +/- ## ========================================== + Coverage 84.48% 84.57% +0.08% ========================================== Files 14 14 Lines 1096 1102 +6 ========================================== + Hits 926 932 +6 Misses 140 140 Partials 30 30 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.