successful()) { $this->settings?->recordDeliverySuccess(); return; } if ($response->status() === 429 || $response->serverError()) { throw new RuntimeException("{$channel} notification failed with {$response->status()} status code."); } $reason = "{$channel} returned HTTP {$response->status()}: ".Str::limit($response->body(), 200); if ($isConfigurationError) { $this->settings?->recordDeliveryFailure($reason); return; } Log::warning("{$channel} rejected the notification", ['reason' => $reason]); } }