From 7b8342c1d065215fd49d304d7f3c90bbc1194b30 Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Tue, 11 Mar 2025 11:03:21 +0100 Subject: [PATCH] add logging --- 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