From 71084f9102b6553c3e0a38608e77e141f552d712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 28 Apr 2021 10:21:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Event.php b/System/Event.php index 02de4a89..82b5efba 100644 --- a/System/Event.php +++ b/System/Event.php @@ -233,7 +233,7 @@ class Event extends BaseObject } return true; } catch (\Throwable $throwable) { - return static::addError($throwable,'throwable'); + return logger()->addError($throwable,'throwable'); } }