Skip to content

Commit

Permalink
Crash if cannot instantiate message handler for apns
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelreiswildlife committed Mar 26, 2024
1 parent 5914272 commit 18c7c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pusher/apns.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (a *APNSPusher) configure(queue interfaces.APNSPushQueue, db interfaces.DB,
l.WithError(err).WithFields(logrus.Fields{
"method": "apns",
"game": k,
}).Error("failed to initialize apns handler")
}).Fatal("failed to initialize apns handler")
}
}
if len(a.MessageHandler) == 0 {
Expand Down

0 comments on commit 18c7c46

Please sign in to comment.