fair-acc / opencmw-cpp

Open Common Middle-Ware library for accelerator equipment- and beam-based control systems at FAIR.
https://opencmw.io
GNU Lesser General Public License v3.0
10 stars 8 forks source link

MDClient: Keep error and RBAC data when handling responses #326

Closed frankosterfeld closed 1 year ago

frankosterfeld commented 1 year ago

Make sure all data (notably the error message) is kept when reading responses.

codecov[bot] commented 1 year ago

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (be867a6) 56.01% compared to head (e58208a) 56.09%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #326 +/- ## ========================================== + Coverage 56.01% 56.09% +0.08% ========================================== Files 70 70 Lines 7404 7402 -2 Branches 2726 2723 -3 ========================================== + Hits 4147 4152 +5 + Misses 1489 1488 -1 + Partials 1768 1762 -6 ``` | [Files](https://app.codecov.io/gh/fair-acc/opencmw-cpp/pull/326?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fair-acc) | Coverage Δ | | |---|---|---| | [src/client/include/Client.hpp](https://app.codecov.io/gh/fair-acc/opencmw-cpp/pull/326?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fair-acc#diff-c3JjL2NsaWVudC9pbmNsdWRlL0NsaWVudC5ocHA=) | `42.69% <63.15%> (+0.32%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/fair-acc/opencmw-cpp/pull/326/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fair-acc)

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

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

60.0% 60.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint