gusutabopb / aioinflux

Asynchronous Python client for InfluxDB
MIT License
159 stars 31 forks source link

Include the actual error message in exceptions. #5

Closed miracle2k closed 6 years ago

miracle2k commented 6 years ago

resp.reason just tells me "Bad Request", which is not helpful in tracking down the problem.

codecov[bot] commented 6 years ago

Codecov Report

Merging #5 into master will increase coverage by 0.6%. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master      #5     +/-   ##
========================================
+ Coverage      96%   96.6%   +0.6%     
========================================
  Files           4       4             
  Lines         275     265     -10     
========================================
- Hits          264     256      -8     
+ Misses         11       9      -2
Impacted Files Coverage Δ
aioinflux/client.py 94.65% <100%> (-0.24%) :arrow_down:
aioinflux/__init__.py 100% <0%> (ø) :arrow_up:
aioinflux/serialization.py 98.16% <0%> (+1.73%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 12ea68c...7972946. Read the comment docs.

gusutabopb commented 6 years ago

Thanks!