X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=b243772b5574bb8877156a9e4d2be81c510797f9;hp=f1c63fd69a3ca21c60bc7a963a8983d374eb49e2;hb=7d6820cc9cd445e7a3d0c3094584a5eb31f60eb1;hpb=4113e1bb097c3c37f31a3ea766935aaafe93db28 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: