in reply to exception handling in Mojolicious

By my reading of the docs, that should work

Are you sure Whatever::Controller::render_exception gets called and calls render?

Upgrade and/or file a bug report upstream

Replies are listed 'Best First'.
Re^2: exception handling in Mojolicious
by morgon (Priest) on Sep 22, 2011 at 13:40 UTC
    It does get called and renders the template ok, but the wrong status code is returned to the client.

      It does get called and renders the template ok, but the wrong status code is returned to the client.

      How do you know that it gets called?

        Because I have a trace in it and I can see that the client gets the proper response (apart from the status code).