From 846e195efa54cdcc841007dd27790f0527f66990 Mon Sep 17 00:00:00 2001 From: whwyy Date: Wed, 31 Dec 2025 00:19:30 +0800 Subject: [PATCH] eee --- EventDispatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EventDispatch.php b/EventDispatch.php index adae268..15cf838 100644 --- a/EventDispatch.php +++ b/EventDispatch.php @@ -42,7 +42,7 @@ class EventDispatch extends Component implements EventDispatcherInterface try { call_user_func($item, $event); } catch (\Throwable $exception) { - error($exception); + \Kiri::getLogger()->json_log($exception); } if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) { break;