diff --git a/Manager/NotificationManager.php b/Manager/NotificationManager.php index 7ae25a4..f6a406f 100644 --- a/Manager/NotificationManager.php +++ b/Manager/NotificationManager.php @@ -162,6 +162,8 @@ public function sendNotificationHttp(NotificationContentModel $notificationConte 'message' => '', 'details' => [self::HTTP_UNHANDLED_ERROR], ]; + + $response = false; try { $response = $this->httpClient->request( @@ -231,6 +233,8 @@ public function sendNotificationsHttp(array $notificationContentModels): array $this->createRequestBody($notificationContentModels) ), ]; + + $response = false; try { $response = $this->httpClient->request(