1
0
Fork 0

Fix usage on symfony 2.x, fixes #10022

pull/10039/head
Jordi Boggiano 2021-07-28 14:19:19 +02:00
parent bbe3769bcd
commit 2fb53232d1
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ class Application extends BaseApplication
} catch (\InvalidArgumentException $e) {
if ($required) {
$this->io->writeError($e->getMessage());
if ($this->areExceptionsCaught()){
if ($this->catchExceptions) {
exit(1);
}
throw $e;