From c8eba4a9320ef3ce7db1c6e8778c97dceb33fff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Tue, 27 Oct 2026 12:25:38 +0100 Subject: [PATCH] fix: sentry config optimization --- config/sentry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sentry.php b/config/sentry.php index b8503b98..4f95db20 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -61,5 +61,5 @@ return [ // @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces-sample-rate. 'traces_sample_rate' => env('SENTRY_TRACES_SAMPLE_RATE') === null ? null : (float) env('SENTRY_TRACES_SAMPLE_RATE'), - 'before_send' => ExceptionsHelper::sentryEventHandler(...), + 'before_send' => [ExceptionsHelper::class, 'sentryEventHandler'], ];