Update BrevoService.php

This commit is contained in:
Jagad R R
2025-03-05 14:13:07 +07:00
parent 8cea1b663f
commit 33f3609197
+3
View File
@@ -53,6 +53,8 @@ class BrevoService
], ],
]); ]);
dd(json_decode($response->getBody(), true));
return json_decode($response->getBody(), true); return json_decode($response->getBody(), true);
} catch (RequestException $e) { } catch (RequestException $e) {
Log::error('Brevo email failed to send', [ Log::error('Brevo email failed to send', [
@@ -60,6 +62,7 @@ class BrevoService
'recipient' => $recipientEmail, 'recipient' => $recipientEmail,
]); ]);
dd($e->getMessage());
return null; return null;
} }
} }