From 952dd5dc07afd99e1ff71108238fad64ee7bab42 Mon Sep 17 00:00:00 2001 From: Quentin Dequippe Date: Thu, 21 Nov 2024 10:45:44 +0400 Subject: [PATCH] update ignored exception --- config/packages/sentry.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/packages/sentry.php b/config/packages/sentry.php index f1f78b37..411f6886 100644 --- a/config/packages/sentry.php +++ b/config/packages/sentry.php @@ -3,7 +3,7 @@ declare(strict_types=1); use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; -use Symfony\Component\HttpFoundation\Exception\BadRequestException; +use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; use Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use function Symfony\Component\DependencyInjection\Loader\Configurator\env; @@ -17,7 +17,7 @@ 'options' => [ 'ignore_exceptions' => [ NotFoundHttpException::class, - BadRequestException::class, + BadRequestHttpException::class, MethodNotAllowedHttpException::class, ], ]