Closed favonia closed 3 months ago
@JvdMaat I'm not sure what caused the strange bug you reported. However, the generation of notification messages has been completely rewritten (to support shoutrrr) so hopefully the problem is gone now? This PR additionally trim the failure messages before applying the existing ugly hack, in case messages with only space or newline characters were ever generated and somehow they confused the Uptime Kuma server.
Attention: Patch coverage is 33.33333%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 90.30%. Comparing base (
fd56d30
) to head (ecd4fbc
).
Files | Patch % | Lines |
---|---|---|
cmd/ddns/ddns.go | 0.00% | 6 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@JvdMaat after reviewing the code I think the hack in this PR is overkill. I'm reverting it to a simpler/cleaner one that is hopefully sufficient. :detective:
Close #648.