Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | public function onKernelException(GetResponseForExceptionEvent $event) |
||
38 | { |
||
39 | $exception = $event->getException(); |
||
40 | |||
41 | if ($exception instanceof InconsistentStateException) { |
||
42 | $this->logger->critical( |
||
43 | sprintf('An inconsistent state has been reached: "%s"', $exception->getMessage()), |
||
44 | ['exception' => $exception] |
||
45 | ); |
||
46 | } |
||
47 | } |
||
48 | } |
||
49 |