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

Appearance settings

Throwing exception in event listener for controller gives 500 error #21575

Copy link
Copy link
Closed
@tdbui22

Description

@tdbui22
Issue body actions
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? yes/no
Symfony version 3.2.3

I'm using the information found on this page http://symfony.com/doc/current/event_dispatcher/before_after_filters.html to implement the before filter. I did exactly as described to throw an AccessDeniedHttpException and it works fine on dev but on prod it gives a 500 erorr instead of a 403.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.