Skip to content

Commit

Permalink
Change priority of kernel exception subscribers to be able to process…
Browse files Browse the repository at this point in the history
… security exceptions
  • Loading branch information
niels-nijens committed Sep 8, 2023
1 parent 33cfad4 commit 11b911e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function getSubscribedEvents(): array
{
return [
KernelEvents::EXCEPTION => [
['onKernelExceptionCreateJsonResponse', 0],
['onKernelExceptionCreateJsonResponse', -32],
],
];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static function getSubscribedEvents(): array
{
return [
KernelEvents::EXCEPTION => [
['onKernelExceptionTransformToProblemException', 10],
['onKernelExceptionTransformToProblemException', -16],
],
];
}
Expand Down

0 comments on commit 11b911e

Please sign in to comment.