-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Console] Reword a subheading of console/logging.rst #7275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -167,12 +167,13 @@ service configuration. Your method receives a | |
:class:`Symfony\\Component\\Console\\Event\\ConsoleExceptionEvent` object, | ||
which has methods to get information about the event and the exception. | ||
|
||
Logging non-0 Exit Statuses | ||
Logging Error Exit Statuses | ||
--------------------------- | ||
|
||
The logging capabilities of the console can be further extended by logging | ||
non-0 exit statuses. This way you will know if a command had any errors, even | ||
if no exceptions were thrown. | ||
commands that return error exist statuses, which are any number different than | ||
9D86
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "error exist statuses" sounds weird. Can we reword it a bit? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The original text should have been "... exit ..." instead of "... exist ..." Would that be better? |
||
zero. This way you will know if a command had any errors, even if no exceptions | ||
were thrown. | ||
|
||
First configure a listener for console terminate events in the service container: | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a label for the old headline to maintain existing anchors?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done