X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=b243772b5574bb8877156a9e4d2be81c510797f9;hb=7d6820cc9cd445e7a3d0c3094584a5eb31f60eb1;hp=f1c63fd69a3ca21c60bc7a963a8983d374eb49e2;hpb=c6e5058f2acfe2ef1f6961191b1961db1d0295e4;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index f1c63fd..b243772 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -331,7 +331,7 @@ all 'dies' within the called action. If you want C to propagate you need to do something like: $c->forward('foo'); - die $c->error if $c->error; + die join "\n", @{ $c->error } if @{ $c->error }; Or make sure to always return true values from your actions and write your code like this: