We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c06942a commit 34606bcCopy full SHA for 34606bc
src/SendGridChannel.php
@@ -55,7 +55,7 @@ public function send($notifiable, Notification $notification)
55
56
$response = $this->sendGrid->send($message->build());
57
58
- if ($response->statusCode() !== 200) {
+ if ($response->statusCode() < 200 || $response->statusCode() >= 300) {
59
throw CouldNotSendNotification::serviceRespondedWithAnError(
60
$response->body()
61
);
0 commit comments