8000
Php error in console command returns wrong exit code #54351
Labels
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected
v7.0.4
Description
Error in PHP code throws an Error. This error is rendered with error style. But the command exit code is 0.
How to reproduce
Run
symfony console app:error ; echo 'exit code: '$?
See the
0
exit code:Possible Solution
Here was a wrong idea, I removed it to simplify the issue. See the comments.
Additional Context
No response
The text was updated successfully, but these errors were encountered: