Skip to content

Commit

Permalink
Fix #3505: prints exception variable contents (#3504)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylethebaker authored and jmolivas committed Aug 31, 2017
1 parent 37c5df8 commit bca9949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/Update/EntitiesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bca9949

Please sign in to comment.