8000 [Console] Remove remaining dead code · dunglas/symfony@3822c07 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3822c07

Browse files
committed
[Console] Remove remaining dead code
1 parent c963178 commit 3822c07

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Console/Application.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,10 @@ public function run(InputInterface $input = null, OutputInterface $output = null
113113
$e = null;
114114
$exitCode = $this->doRun($input, $output);
115115
} catch (\Exception $e) {
116-
} catch (\Throwable $e) {
117116
}
118117

119118
if (null !== $e) {
120-
if (!$this->catchExceptions || !$e instanceof \Exception) {
119+
if (!$this->catchExceptions) {
121120
throw $e;
122121
}
123122

0 commit comments

Comments
 (0)
0