You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whey I configure the bundle to use excluded_404s for a fingers_crossed handler I get the following error:
RuntimeException in ContainerBuilder.php line 915:
You have requested a synthetic service ("request"). The DIC does not know how to construct this service.
When looking in the code, I think this causes the error (MonologExtension.php line 293-298)
This PR was squashed before being merged into the 3.x-dev branch (closes#169).
Discussion
----------
Deprecate the NotFoundActivationStrategy class
Use the version that is in monolog-bridge instead. That version uses
request_stack rather than request from the service container, which
means excluded_404s shall be properly ignored in Symfony 3.
Replaces #94, Fixes#166 and invalidates #123.
This change remains backwards compatible with Symfony 2.6 and above.
Commits
-------
b77bdf0 Deprecate the NotFoundActivationStrategy class
Whey I configure the bundle to use
excluded_404s
for afingers_crossed
handler I get the following error:When looking in the code, I think this causes the error (MonologExtension.php line 293-298)
I'm using symfony 2.6.7 with monolog-bundle 2.7.1
My guess is that the MonologExtension should use the request stack, but that might not be compatible with older versions of symfony.
The text was updated successfully, but these errors were encountered: