From 6e0c32f9d2b4ce63fde1ac0da30960f33a89f548 Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Tue, 11 Mar 2025 10:04:02 +0000 Subject: [PATCH] add logging Reviewed-on: https://git.simonis.lol/projects/abiball/pulls/47 --- src/Subcriber.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Subcriber.php diff --git a/src/Subcriber.php b/src/Subcriber.php new file mode 100644 index 0000000..c846dcf --- /dev/null +++ b/src/Subcriber.php @@ -0,0 +1,30 @@ + 'logException' + ]; + } + + public function logException(ExceptionEvent $event): void + { + $this->logger->warning($event->getThrowable()->getMessage()); + } +} \ No newline at end of file