eee
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ class EventDispatch extends Component implements EventDispatcherInterface
|
|||||||
try {
|
try {
|
||||||
call_user_func($item, $event);
|
call_user_func($item, $event);
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
error($exception);
|
\Kiri::getLogger()->json_log($exception);
|
||||||
}
|
}
|
||||||
if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
|
if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user