/** * {@inheritdoc} * * @param OutputInterface $output */ public function handleSnapshot(SnapshotInterface $snapshot, OutputInterface $output = null) { if (empty($output)) { $output = new ConsoleOutput(OutputInterface::VERBOSITY_VERBOSE); } $this->application()->renderException($snapshot->getException(), $output); }
/** * {@inheritdoc} * * @param OutputInterface $output */ public function handleSnapshot(SnapshotInterface $snapshot, OutputInterface $output = null) { //If no output provided we are probably handling fatal exception, let's verbose $output = !empty($output) ? $output : new ConsoleOutput(OutputInterface::VERBOSITY_VERBOSE); $this->application()->renderException($snapshot->getException(), $output); }