Better configuration key name
[catagits/Catalyst-Runtime.git] / lib / Catalyst / ActionChain.pm
index b54d553..ed2fb51 100644 (file)
@@ -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 );
 }