Skip to content

[2.2] Allow toggling between production and development error pages... #1486

Closed
@atrauzzi

Description

@atrauzzi

When I'm viewing my site in production, I get to take advantage of the extremely useful error pages symfony provides. Unfortunately, this is clobbering my user-facing error pages.

It would be nice if somewhere in the ui of the default app_dev error page, a button was made available to re-render the request using the production error templates.

I'm going to clarify something ahead of time as I brought this up on IRC and some people struggled to understand the usefulness of this: Ideally I wouldn't have to re-enter the same URL in the address bar to view the production template. Reason being that I may not have directly navigated to the page I'm viewing. As a result, things like post variables or anything set server side are not guaranteed to be present.

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