From: Dimitar Petrov Date: Fri, 24 May 2013 06:50:29 +0000 (+0200) Subject: Better configuration key name X-Git-Tag: 5.90040~3^2~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=6e8520be0c895f96e8e28f724ba73ba70ea4fac6 Better configuration key name Signed-off-by: John Napiorkowski --- diff --git a/lib/Catalyst/ActionChain.pm b/lib/Catalyst/ActionChain.pm index b54d553..ed2fb51 100644 --- a/lib/Catalyst/ActionChain.pm +++ b/lib/Catalyst/ActionChain.pm @@ -36,7 +36,7 @@ sub dispatch { $action->dispatch( $c ); # break the chain if exception occurs in the middle of chain - return if (@{$c->error} && $c->config->{detach_on_die}); + return if (@{$c->error} && $c->config->{abort_chain_on_error_fix}); } $last->dispatch( $c ); } diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm index 9fd0239..89332ba 100644 --- a/t/lib/TestApp.pm +++ b/t/lib/TestApp.pm @@ -50,7 +50,7 @@ TestApp->config( action_action_nine => { another_extra_arg => 13 } } }, - detach_on_die => 1, + abort_chain_on_error_fix => 1, ); # Test bug found when re-adjusting the metaclass compat code in Moose