Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Debug] Preview errors in debug does not work anymore #34602

Closed
@lyrixx

Description

@lyrixx

Symfony version(s) affected: 5.0.0 (at least)

Description
the following URL https://127.0.0.1:8001/_error/404 does not preview the error anymore. It display a regular error in debug mode

How to reproduce

>/tmp symfony new sf-5.0 --full
* Creating a new Symfony project with Composer
  (running /usr/local/bin/composer create-project symfony/website-skeleton sf-5.0)

* Setting up the project under Git version control
  (running git init sf-5.0)

                                                                                                                        
 [OK] Your project is now ready in /tmp/sf-5.0                                                                          
                                                                                                                        

>/tmp cd /tmp/sf-5.0
>/tmp/sf-5.0(master) symfony serve -d 
                                                                                                                        
 [OK] Web server listening on https://127.0.0.1:8001 (PHP FPM 7.4.0)                                                    

Then open this URL https://127.0.0.1:8001/_error/404
and see this exception
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions