modify plugin name

This commit is contained in:
2022-06-16 18:58:26 +08:00
parent 38f6830190
commit acce084300
+1 -1
View File
@@ -42,7 +42,7 @@ class EventDispatch extends Component implements EventDispatcherInterface
try { try {
$listener($event); $listener($event);
}catch (\Throwable $exception) { }catch (\Throwable $exception) {
$this->logger->addError($exception); $this->logger->error($exception->getMessage(), [$exception]);
} }
if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) { if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
break; break;