KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
We're developing a new site in Symfony. When Symfony encounters an error, such as a "no route found", and debug is set to true, it not only outputs a 404 code, it actually shows the error on the page. Firefox displays what the server returned, but Chrome does not. For my no route found example: Firefox shows this: https://i.sstatic.net/84Fb5.png Chrome shows this: https://i.sstatic.net/qCDOm.png Is there a way to get Chrome to behave like Firefox under these conditions? Edit: There seems to be some questioning of what's actually happening. I don't know what's causing this, otherwise I would fix it. Here's what I see in the Chrome network inspector (note that this image is for a 500 error, but the same happens with 404's): https://i.sstatic.net/uDWlU.png Notice the content length of zero. If I go to the exact same URL through Firefox (same server, everything), it shows the actual Symfony error.
Tags (comma-separated)
Save Edits
Cancel