Skip to content
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

Remove invalid handlers #389

Merged
merged 1 commit into from Mar 21, 2021
Merged

Remove invalid handlers #389

merged 1 commit into from Mar 21, 2021

Conversation

jderusse
Copy link
Member

This PR removes the invalid handlers added in #321: Adding an handler is not only about adding the mapping shortName <=> class: The constructor's arguments have to be defined in the buildHandler function. Otherwise, we get the following exception:

InvalidArgumentException: Invalid handler type "logmatic" given for handler "logmatic"
                                                                                               
/data/oss/monolog-bundle/DependencyInjection/MonologExtension.php:911

This PR adds support for handler "noop".

Re-adding supports for the other (more complex) handlers could be done in dedicated PR.

@jderusse jderusse merged commit 888b54b into symfony:master Mar 21, 2021
@jderusse jderusse deleted the fix-handlers branch March 21, 2021 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants