Commit 43a9f2d
committed
bug #574 Fix console error listener when there is no command yet (ogizanagi)
This PR was merged into the master branch.
Discussion
----------
Fix console error listener when there is no command yet
Fixes an issue when there isn't any command yet and an error was triggered. For instance, when trying to use a non-existing command.
> PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getName() on null in src/AppBundle/EventListener/CheckRequirementsSubscriber.php:70
Commits
-------
81c459d Fix console error listener when there is no command yet1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments