diff --git a/src/EventSubscriber/ApiExceptionSubscriber.php b/src/EventSubscriber/ApiExceptionSubscriber.php index a50db30..b5da8f2 100644 --- a/src/EventSubscriber/ApiExceptionSubscriber.php +++ b/src/EventSubscriber/ApiExceptionSubscriber.php @@ -35,7 +35,7 @@ public function __construct( public static function getSubscribedEvents(): array { return [ - KernelEvents::EXCEPTION => ['onKernelException', 256], + KernelEvents::EXCEPTION => ['onKernelException', -10], ]; }