-
-
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
Conversation
--------------------------- | ||
|
||
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 |
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.
"error exist statuses" sounds weird. Can we reword it a bit?
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.
The original text should have been "... exit ..." instead of "... exist ..." Would that be better?
@@ -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 |
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
👍 Status: Reviewed |
Thank you Javier. |
…iereguiluz) 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 ..."):  I propose a minor reword to avoid this problem. Commits ------- b1ec1f0 [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 ..."):
I propose a minor reword to avoid this problem.