refact pkg/database: clean up code and error messages
@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.
/area agent/area local-api/area cscli/area appsec/area security/area configuration
Details
I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.
Codecov Report
Attention: Patch coverage is 82.35294% with 39 lines in your changes missing coverage. Please review.
Project coverage is 58.47%. Comparing base (
ecf34c2) to head (79959e7). Report is 1 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #3263 +/- ##
==========================================
+ Coverage 58.45% 58.47% +0.01%
==========================================
Files 351 352 +1
Lines 37893 37871 -22
==========================================
- Hits 22151 22144 -7
+ Misses 13835 13818 -17
- Partials 1907 1909 +2
| Flag | Coverage Δ | |
|---|---|---|
| bats | 41.28% <71.49%> (-0.02%) |
:arrow_down: |
| unit-linux | 34.44% <66.66%> (+0.02%) |
:arrow_up: |
| unit-windows | 29.67% <45.70%> (+0.02%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.