File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -167,12 +167,15 @@ service configuration. Your method receives a
167
167
:class: `Symfony\\ Component\\ Console\\ Event\\ ConsoleExceptionEvent ` object,
168
168
which has methods to get information about the event and the exception.
169
169
170
- Logging non-0 Exit Statuses
170
+ .. _logging-non-0-exit-statuses :
171
+
172
+ Logging Error Exit Statuses
171
173
---------------------------
172
174
173
175
The logging capabilities of the console can be further extended by logging
174
- non-0 exit statuses. This way you will know if a command had any errors, even
175
- if no exceptions were thrown.
176
+ commands that return error exit statuses, which are any number different than
177
+ zero. This way you will know if a command had any errors, even if no exceptions
178
+ were thrown.
176
179
177
180
First configure a listener for console terminate events in the service container:
178
181
You can’t perform that action at this time.
0 commit comments