@@ 398-403 (lines=6) @@ | ||
395 | array_unshift($args, $this->getDefaultCommandName()); |
|
396 | $this->parseArgs($args); |
|
397 | } catch (Exception $ex) { |
|
398 | if ($this->getCatchErrors()) { |
|
399 | $widget = new ExceptionWidget($this->input, $this->output); |
|
400 | $widget->render($ex); |
|
401 | } else { |
|
402 | throw $ex; |
|
403 | } |
|
404 | } |
|
405 | } |
|
406 | ||
@@ 432-437 (lines=6) @@ | ||
429 | $command->getHandler(), $input, $output, $this |
|
430 | ); |
|
431 | } catch (Exception $ex) { |
|
432 | if ($this->getCatchErrors()) { |
|
433 | $widget = new ExceptionWidget($this->input, $this->output); |
|
434 | $widget->render($ex); |
|
435 | } else { |
|
436 | throw $ex; |
|
437 | } |
|
438 | } |
|
439 | } |
|
440 |