This commit is contained in:
2021-04-28 10:21:06 +08:00
parent 3e68828fc6
commit 71084f9102
+1 -1
View File
@@ -233,7 +233,7 @@ class Event extends BaseObject
}
return true;
} catch (\Throwable $throwable) {
return static::addError($throwable,'throwable');
return logger()->addError($throwable,'throwable');
}
}