Skip to content

Commit

Permalink
Merge pull request #82 from niels-nijens/improve-event-priority
Browse files Browse the repository at this point in the history
Change priority of kernel exception subscribers to be able to process security exceptions
  • Loading branch information
niels-nijens committed Sep 8, 2023
2 parents 33cfad4 + 8a0a548 commit f9cf94e
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 f9cf94e

Please sign in to comment.