-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[WIP] [Console] Add basic support for automatic console exception logging #19382
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
Closed
jameshalsall
wants to merge
15
commits into
symfony:master
from
jameshalsall:automatic-console-exception-logging
Closed
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4284161
Add basic support for automatic console exception logging
jameshalsall 17ef8db
Fix coding standards
jameshalsall 3d6b22b
Simplify the log entry for console exceptions
jameshalsall 0961f8c
Remove unnecessary exit code handling in ExceptionListener
jameshalsall 5bd799e
Fix onKernelTerminate message logging
jameshalsall 80c3ac3
Fix coding style
jameshalsall f7a7048
Fix code style
c21d206
Fix code style, add TODO
2874431
Update console error log with placeholders and context
bcbc8cb
Replace global usage with ArgvInput
da278e6
Remove backticks around command name in log message
jameshalsall 44a0822
Add test for onKernelTerminate
jameshalsall 5dc8b61
Update console ExceptionListener messaging, add test
jameshalsall b196557
Add tests for onKernelTerminate, fix log message
jameshalsall e6c4994
Revert change to composer.json
jameshalsall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix onKernelTerminate message logging
- Loading branch information
commit 5bd799ee44362f3843f0c4f1366f37425c94d80d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We prefer single line here, same above. And in fact I think the intermediate $message is not required.
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.
👍 my bad