From 61546a629d9449e0b2bd903f33476d5989b0fb65 Mon Sep 17 00:00:00 2001 From: Daniel Cadenas Date: Fri, 26 Jul 2024 15:03:17 -0300 Subject: [PATCH] Check if metrics is the cause of the crash --- service/adapters/apns/apns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/adapters/apns/apns.go b/service/adapters/apns/apns.go index 691b12e..162489c 100644 --- a/service/adapters/apns/apns.go +++ b/service/adapters/apns/apns.go @@ -59,7 +59,7 @@ func (a *APNS) SendNotification(notification notifications.Notification) error { n.Priority = apns2.PriorityLow resp, err := a.client.Push(n) - a.metrics.ReportCallToAPNS(resp.StatusCode, err) + //a.metrics.ReportCallToAPNS(resp.StatusCode, err) if err != nil { return errors.Wrap(err, "error pushing the notification") }