@@ -703,10 +703,10 @@ public function renderException($e, $output)
703
703
$ messages [] = '' ;
704
704
$ messages [] = '' ;
705
705
706
- $ output ->writeln ($ messages , OutputInterface::OUTPUT_RAW );
706
+ $ output ->writeln ($ messages , OutputInterface::OUTPUT_RAW | OutputInterface:: VERBOSITY_QUIET );
707
707
708
708
if (OutputInterface::VERBOSITY_VERBOSE <= $ output ->getVerbosity ()) {
709
- $ output ->writeln ('<comment>Exception trace:</comment> ' );
709
+ $ output ->writeln ('<comment>Exception trace:</comment> ' , OutputInterface:: VERBOSITY_QUIET );
710
710
711
711
// exception related properties
712
712
$ trace = $ e ->getTrace ();
@@ -724,18 +724,18 @@ public function renderException($e, $output)
724
724
$ file = isset ($ trace [$ i ]['file ' ]) ? $ trace [$ i ]['file ' ] : 'n/a ' ;
725
725
$ line = isset ($ trace [$ i ]['line ' ]) ? $ trace [$ i ]['line ' ] : 'n/a ' ;
726
726
727
- $ output ->writeln (sprintf (' %s%s%s() at <info>%s:%s</info> ' , $ class , $ type , $ function , $ file , $ line ));
727
+ $ output ->writeln (sprintf (' %s%s%s() at <info>%s:%s</info> ' , $ class , $ type , $ function , $ file , $ line ), OutputInterface:: VERBOSITY_QUIET );
728
728
}
729
729
730
- $ output ->writeln ('' );
731
- $ output ->writeln ('' );
730
+ $ output ->writeln ('' , OutputInterface:: VERBOSITY_QUIET );
731
+ $ output ->writeln ('' , OutputInterface:: VERBOSITY_QUIET );
732
732
}
733
733
} while ($ e = $ e ->getPrevious ());
734
734
735
735
if (null !== $ this ->runningCommand ) {
736
- $ output ->writeln (sprintf ('<info>%s</info> ' , sprintf ($ this ->runningCommand ->getSynopsis (), $ this ->getName ())));
737
- $ output ->writeln ('' );
738
- $ output ->writeln ('' );
736
+ $ output ->writeln (sprintf ('<info>%s</info> ' , sprintf ($ this ->runningCommand ->getSynopsis (), $ this ->getName ())), OutputInterface:: VERBOSITY_QUIET );
737
+ $ output ->writeln ('' , OutputInterface:: VERBOSITY_QUIET );
738
+ $ output ->writeln ('' , OutputInterface:: VERBOSITY_QUIET );
739
739
}
740
740
}
741
741
0 commit comments