Closed Annopaolo closed 9 months ago
Attention: 7 lines
in your changes are missing coverage. Please review.
Comparison is base (
d3ea3d6
) 68.75% compared to head (57ab797
) 68.72%. Report is 3 commits behind head on release-1.0.
Files | Patch % | Lines |
---|---|---|
...ib/astarte_data_updater_plant/data_updater/impl.ex | 46.15% | 7 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Due to a quirk in OTP's zlib library, the
safe_inflate/1
function can actually throw an error if the payload is malformed.The unhandled error made the
DataUpdater
process crash, resulting in the malformed purge properties message being requeued and so on and so forth. Fix this behaviour by wrapping relevant:zlib
calls in a try-catch block.