Skip to content

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.

2 participants