Skip to content

Commit

Permalink
Fix error log
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelreiswildlife committed May 7, 2024
1 parent 3d053a0 commit 1bd8d6d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions extensions/apns_message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,12 @@ func (a *APNSMessageHandler) loadConfigurationDefaults() {
func (a *APNSMessageHandler) HandleResponses() {
for response := range a.PushQueue.ResponseChannel() {
err := a.handleAPNSResponse(response)
a.Logger.
WithField("method", "HandleResponses").
WithError(err).
Error("error handling response")
if err != nil {
a.Logger.
WithField("method", "HandleResponses").
WithError(err).
Error("error handling response")
}
}
}

Expand Down

0 comments on commit 1bd8d6d

Please sign in to comment.