[dancer-users] Route exception: Undef did not pass type constraint "Str"

Gabor Szabo gabor at szabgab.com
Thu Sep 24 14:14:12 BST 2015


While trying to deploy an application I've just encountered this error:

error @2015-09-24 09:06:31> Route exception: Undef did not pass type
constraint "Str" (in $args->{"name"}) at (eval 663) line 192
    "Str" is a subtype of "Value"
    "Value" is a subtype of "Defined"
    Undef did not pass type constraint "Defined" (in $args->{"name"})
    "Defined" is defined as: (defined($_)) in
/home/user/perl5.22.0/lib/site_perl/5.22.0/Dancer2/Core/App.pm l. 1276

I don't see this on my development machine and so far I have no idea where
to look.

Before I go down the rabbit hole trying to find the differences and the
source of the problem,
I wonder if anyone has encountered this.

Dancer2 0.162   on both machines:
dev using plackup 1.0037
prod using Starman 0.4014

Dancer2::Plugin::Auth::Extensible 0.401

regards
   Gabor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150924/29472766/attachment.html>


More information about the dancer-users mailing list