Skip to content

Conversation

@niklasf
Copy link
Collaborator

@niklasf niklasf commented Dec 3, 2024

Found these improvements to error handling helpful in debugging/monitoring:

  • Capture io::Error
  • Provide more detailed error info, even if response does not match https://mozilla-services.github.io/autopush-rs/errors.html (fallback to errno 999 - Unknown error with response body)
  • Align error messages stylistically
  • Remove unused WebPushError::{SslError, TlsError} (since this PR contains semver-breaking changes anyway)

@niklasf
Copy link
Collaborator Author

niklasf commented Dec 3, 2024

Also fixed unrelated warning to pass CI on latest stable.

@andyblarblar
Copy link
Collaborator

Oooo nice work, those error types were annoying me for some time. I think that CI fix should unblock that other PR as well, good all around.

@andyblarblar andyblarblar merged commit 3f55333 into pimeys:master Dec 6, 2024
11 checks passed
niklasf added a commit that referenced this pull request Feb 22, 2025
…ally (#63)"

This reverts commit 3f55333.

Undo the semver break for a final 0.10.x release (#71).
niklasf added a commit that referenced this pull request Feb 22, 2025
…ally (#63)"

This reverts commit 3f55333.

Undo the semver break for a final 0.10.x release (#71).
niklasf added a commit to niklasf/rust-web-push that referenced this pull request Feb 22, 2025
niklasf added a commit that referenced this pull request Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants