From bca994977c4233b7f6f0f512a6eafe1f6262d843 Mon Sep 17 00:00:00 2001 From: Kyle Baker Date: Thu, 31 Aug 2017 03:34:02 -0400 Subject: [PATCH] Fix #3505: prints exception variable contents (#3504) --- src/Command/Update/EntitiesCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/Update/EntitiesCommand.php b/src/Command/Update/EntitiesCommand.php index c1f98eaf5..1d0f74f33 100644 --- a/src/Command/Update/EntitiesCommand.php +++ b/src/Command/Update/EntitiesCommand.php @@ -87,8 +87,8 @@ protected function execute(InputInterface $input, OutputInterface $output) } catch (EntityStorageException $e) { /* @var Error $variables */ $variables = Error::decodeException($e); - $io->info($this->trans('commands.update.entities.messages.error')); - $io->info($variables); + $io->errorLite($this->trans('commands.update.entities.messages.error')); + $io->error(strtr('%type: @message in %function (line %line of %file).', $variables)); } $this->state->set('system.maintenance_mode', false);