Skip to content

Commit

Permalink
chore: improve warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Sep 27, 2023
1 parent 86aa0cd commit 2a24394
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/apns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ impl PushProvider for ApnsProvider {
Ok(response) => {
if response.error.is_some() {
warn!(
"Unexpected APNS error. a2 lib shouldn't allow Ok result for error \
response. Status: {} Error: {:?}",
"Unexpected APNS error. a2 lib shouldn't allow returning Ok containing \
error response. Status: {} Error: {:?}",
response.code, response.error
);
Err(Error::Apns(a2::Error::ResponseError(response)))
Expand Down

0 comments on commit 2a24394

Please sign in to comment.