Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[TwigBundle] Only remove kernel exception listener if twig is used#38350

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@dmolineus
Copy link
Contributor

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Ticketscontao/contao#1527
LicenseMIT
Doc PR

In a setup using the template engine but not twig as the template engine no exceptions are logged. This is caused by the twig-bundle which removes theexception_listener service. For my understanding this should only happen if twig is used as template engine. This PR fixes the logic that only for the case where twig is enabled as template engine the http kernel exception listener is removed. Otherwise the twig exception listener got removed now.

Disclaimer: I'm not too deep into the details, so maybe I oversee something why it's implemented the way it is.

fritzmg and RoflCopter24 reacted with thumbs up emoji
@nicolas-grekasnicolas-grekas changed the titleOnly remove kernel exception listener if twig is used[TwigBundle] Only remove kernel exception listener if twig is usedOct 1, 2020
@nicolas-grekas
Copy link
Member

Thank you@dmolineus.

@nicolas-grekasnicolas-grekas merged commitdadce4b intosymfony:4.4Oct 1, 2020
@dmolineusdmolineus deleted the fix/exception-listener branchOctober 1, 2020 19:33
This was referencedOct 4, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@ycerutoycerutoyceruto approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@dmolineus@nicolas-grekas@yceruto@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp