From 18c7c4681c4baf738633dafba6deb357a335825e Mon Sep 17 00:00:00 2001 From: Miguel dos Reis Date: Tue, 26 Mar 2024 11:21:40 -0300 Subject: [PATCH] Crash if cannot instantiate message handler for apns --- pusher/apns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pusher/apns.go b/pusher/apns.go index 1b1b982..4fc029f 100644 --- a/pusher/apns.go +++ b/pusher/apns.go @@ -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 {