变更
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ class EventDispatch extends Component implements EventDispatcherInterface
|
|||||||
try {
|
try {
|
||||||
call_user_func($lists->current(), $event);
|
call_user_func($lists->current(), $event);
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
error($exception->getMessage(), [$exception]);
|
error($exception);
|
||||||
}
|
}
|
||||||
if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
|
if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user