Skip to content

Commit 0376c16

Browse files
committed
minor #7275 [Console] Reword a subheading of console/logging.rst (javiereguiluz)
This PR was squashed before being merged into the 2.7 branch (closes #7275). Discussion ---------- [Console] Reword a subheading of console/logging.rst Because of the typography we use, the "non-0 exit statuses" heading reads as "nono exit statuses" (instead of "non-zero ..."): ![console-heading](https://cloud.githubusercontent.com/assets/73419/21296011/99817e48-c561-11e6-86fb-429d6546e1c1.png) I propose a minor reword to avoid this problem. Commits ------- b1ec1f0 [Console] Reword a subheading of console/logging.rst
2 parents 08aaf8b + b1ec1f0 commit 0376c16

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

console/logging.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,15 @@ service configuration. Your method receives a
167167
:class:`Symfony\\Component\\Console\\Event\\ConsoleExceptionEvent` object,
168168
which 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

173175
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.
176179

177180
First configure a listener for console terminate events in the service container:
178181

0 commit comments

Comments
 (0)