Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurynas Griciūnas committed Apr 14, 2023
1 parent ee9cd03 commit 6c95796
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Listener/RestExceptionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ public function onKernelException($event)

if (method_exists($event, 'getException')) {
$exception = $event->getException();
trigger_deprecation(
'lib-api-bundle',
'1.5.1',
'getException() is deprecated and should no longer be used.'
);
} else {
$exception = $event->getThrowable();
}
Expand Down

0 comments on commit 6c95796

Please sign in to comment.