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'); } }