fix(ray): remove Ray debug hooks from runtime (#10847)

This commit is contained in:
Andras Bacsai authored and GitHub committed 2026-07-03 11:40:20 +02:00
1 parent 29c122b31a
commit 9b060958aa
28 files changed
+141 -955

No files matched your search

@@ -15,23 +15,11 @@ class WebhookChannel
$webhookSettings = $notifiable->webhookNotificationSettings;
if (! $webhookSettings || ! $webhookSettings->isEnabled() || ! $webhookSettings->webhook_url) {
if (isDev()) {
ray('Webhook notification skipped - not enabled or no URL configured');
}
return;
}
$payload = $notification->toWebhook();
if (isDev()) {
ray('Dispatching webhook notification', [
'notification' => get_class($notification),
'url' => $webhookSettings->webhook_url,
'payload' => $payload,
]);
}
SendWebhookJob::dispatch($payload, $webhookSettings->webhook_url);
}
}