[Console] remove dead code
This commit is contained in:
parent
85551141a5
commit
65f2b13e6b
@ -112,15 +112,13 @@ class Application
|
|||||||
try {
|
try {
|
||||||
$e = null;
|
$e = null;
|
||||||
$exitCode = $this->doRun($input, $output);
|
$exitCode = $this->doRun($input, $output);
|
||||||
} catch (\Exception $x) {
|
} catch (\Exception $e) {
|
||||||
$e = $x;
|
} catch (\Throwable $e) {
|
||||||
} catch (\Throwable $x) {
|
|
||||||
$e = new FatalThrowableError($x);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (null !== $e) {
|
if (null !== $e) {
|
||||||
if (!$this->catchExceptions || !$x instanceof \Exception) {
|
if (!$this->catchExceptions || !$e instanceof \Exception) {
|
||||||
throw $x;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($output instanceof ConsoleOutputInterface) {
|
if ($output instanceof ConsoleOutputInterface) {
|
||||||
|
Reference in New Issue
Block a user