Skip to content

Display only error 500, when you have the wrong configuration in debug mode. #36254

@ikakarov

Description

@ikakarov

Symfony version(s) affected: 4.4.*

Description
When you have the wrong configuration, instead of showing exceptions, an 500 page is displayed.
This problem does not depend on the environment.

How to reproduce
Just set malformed *.ymal file something like this :

# config/routes/annotations.yaml
;321-

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions