in reply to Plack::Middleware::StackTrace missing frame

What happens when you try the options described in Plack::Middleware::StackTrace?  enable "StackTrace", no_print_errors => 1, force => 1;

Replies are listed 'Best First'.
Re^2: Plack::Middleware::StackTrace missing frame
by Anonymous Monk on Apr 30, 2015 at 01:54 UTC
    No change, but thanks for the thought.

      No change, but thanks for the thought.

      Well, then show some code, like 10-20 lines worth

        I think I figured it out. I was loading the HTTPExceptions middleware too. That seems to catch the exception and even though it rethrows it, StackTrace then skips it.

        Test code:

        use strict; use Plack::Builder; { package MyApp; sub please_die { die "egad" } } my $app = sub { MyApp->please_die; [200, ['Content-type' => 'text/plain'], ['hello']] }; builder { enable 'StackTrace'; # enable 'HTTPExceptions', rethrow => 1; $app; };