-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: handle InfluxDBError when writing data #3788
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Uffizzi Preview |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3788 +/- ##
==========================================
+ Coverage 95.91% 95.93% +0.01%
==========================================
Files 1102 1103 +1
Lines 34789 34832 +43
==========================================
+ Hits 33369 33415 +46
+ Misses 1420 1417 -3 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Kim Gustyr <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. One small nit.
Thanks for submitting a PR! Please check the boxes below:
pre-commit
to check lintingdocs/
if required so people know about the feature!Changes
Catch InfluxDBError when writing errors so we don't spam sentry for e.g. rate limiting errors.
How did you test this code?
Added a unit test. Note that the test is pretty crude for now as the caplog fixture is poor, but it achieves what we need.