Example #1
0
 /**
  * {@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);
 }
Example #2
0
 /**
  * {@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);
 }