From 30e9b3e51db3964b326b3f685902d65f452feb6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 18 Apr 2023 23:47:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EventDispatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EventDispatch.php b/EventDispatch.php index ae88e11..53ac0ab 100644 --- a/EventDispatch.php +++ b/EventDispatch.php @@ -36,7 +36,7 @@ class EventDispatch extends Component implements EventDispatcherInterface try { call_user_func($lists->current(), $event); } catch (\Throwable $exception) { - error($exception->getMessage(), [$exception]); + error($exception); } if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) { break;