edgehog-device-manager / edgehog-device-runtime

Edgehog Device Runtime is a portable middleware written in Rust, that enables remote device management on Linux-based systems.
Apache License 2.0
12 stars 11 forks source link

Display actual error message in DeviceManagerError #151

Closed harlem88 closed 2 years ago

harlem88 commented 2 years ago

Before this change, the internal error was lost, so it made difficult to identify the actual problem.

codecov[bot] commented 2 years ago

Codecov Report

Base: 67.73% // Head: 67.78% // Increases project coverage by +0.04% :tada:

Coverage data is based on head (4ae3bcb) compared to base (738c4bb). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #151 +/- ## ========================================== + Coverage 67.73% 67.78% +0.04% ========================================== Files 23 23 Lines 716 717 +1 ========================================== + Hits 485 486 +1 Misses 231 231 ``` | [Impacted Files](https://codecov.io/gh/edgehog-device-manager/edgehog-device-runtime/pull/151?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=edgehog-device-manager) | Coverage Δ | | |---|---|---| | [src/error.rs](https://codecov.io/gh/edgehog-device-manager/edgehog-device-runtime/pull/151/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=edgehog-device-manager#diff-c3JjL2Vycm9yLnJz) | `0.00% <ø> (ø)` | | | [src/data/astarte.rs](https://codecov.io/gh/edgehog-device-manager/edgehog-device-runtime/pull/151/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=edgehog-device-manager#diff-c3JjL2RhdGEvYXN0YXJ0ZS5ycw==) | `63.26% <100.00%> (+0.76%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=edgehog-device-manager). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=edgehog-device-manager)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.