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
167167:class: `Symfony\\ Component\\ Console\\ Event\\ ConsoleExceptionEvent ` object,
168168which has methods to get information about the event and the exception.
169169
170- Logging non-0 Exit Statuses
170+ .. _logging-non-0-exit-statuses :
171+
172+ Logging Error Exit Statuses
171173---------------------------
172174
173175The 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.
176179
177180First configure a listener for console terminate events in the service container:
178181
You can’t perform that action at this time.
0 commit comments