This commit is contained in:
2023-04-18 23:47:31 +08:00
parent e035b6248e
commit 30e9b3e51d
+1 -1
View File
@@ -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;