Hi all,
Planning to switch our Perl app deployment to uWSGI, and I appear to be
getting this warning from uWSGI whenever a Dancer ‘forward’ is encountered, even
though said ‘forward’ appears to work just fine:
Trace begun at (eval 839) line 1
main::ANON('Dancer::Continuation::Route::Forwarded=HASH(0x65e4d60)')
called at /usr/share/perl5/Dancer/Continuation.pm line 12
Dancer::Continuation::throw('Dancer::Continuation::Route::Forwarded=HASH(0x65e4d60)')
called at /usr/share/perl5/Dancer.pm line 151
Dancer::forward('/error/msg/Unknown+user') called at
/home/i2/www/lib/user/profile.pm line 103 user::profile::ANON
at /usr/share/perl5/Dancer/Route.pm line 262
Dancer::Route::execute('Dancer::Route=HASH(0x5b40ca0)') called at
/usr/share/perl5/Dancer/Route.pm line 177 Dancer::Route::try {...} at
/usr/local/share/perl/5.18.2/Try/Tiny.pm line 76 eval {...} at
/usr/local/share/perl/5.18.2/Try/Tiny.pm line 72
Try::Tiny::try('CODE(0x275a590)', 'Try::Tiny::Catch=REF(0x65e4cb8)') called at
/usr/share/perl5/Dancer/Route.pm line 191
Dancer::Route::run('Dancer::Route=HASH(0x5b40ca0)',
'Dancer::Request=HASH(0x2266fb0)') called at /usr/share/perl5/Dancer/Renderer.pm
line 135 Dancer::Renderer::try {...} at /usr/local/share/perl/5.18.2/Try/Tiny.pm
line 81 eval {...} at /usr/local/share/perl/5.18.2/Try/Tiny.pm line 72
Try::Tiny::try('CODE(0x60a4458)', 'Try::Tiny::Catch=REF(0x65e4ac0)') called at
/usr/share/perl5/Dancer/Renderer.pm line 144
Dancer::Renderer::get_action_response('Dancer::Renderer') called at
/usr/share/perl5/Dancer/Renderer.pm line 31
Dancer::Renderer::render_action('Dancer::Renderer') called at
/usr/share/perl5/Dancer/Handler.pm line 84 Dancer::Handler::try {...} at
/usr/local/share/perl/5.18.2/Try/Tiny.pm line 76 eval {...} at
/usr/local/share/perl/5.18.2/Try/Tiny.pm line 72
Try::Tiny::try('CODE(0x1b5cfa8)', 'Try::Tiny::Catch=REF(0x60a4350)') called at
/usr/share/perl5/Dancer/Handler.pm line 113
Dancer::Handler::render_request('Dancer::Request=HASH(0x2266fb0)') called at
/usr/share/perl5/Dancer/Handler.pm line 76
Dancer::Handler::handle_request('Dancer::Handler::PSGI=HASH(0x5f3f150)',
'Dancer::Request=HASH(0x2266fb0)') called at /usr/share/perl5/Dancer/Handler.pm
line 123 Dancer::Handler::ANON('HASH(0xe4e720)') called at
bin/app.pl line 0 eval {...} at bin/app.pl line 0
I do have PCRE installed. I'm sure of this because PCRE=True on
install, and I'm not getting the warning.
Any thoughts? I can obviously just ignore, but I want to make sure I'm not
creating a race condition, I want to keep my log files clean, and I also want
nice clean code.
Thx in advance for any tips
FYI, this question was crossposted on StackOverflow, feel free to answer
there or here.