projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
remove documentation about adding middleware via setup_middleware. lets only permit...
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
ActionChain.pm
diff --git
a/lib/Catalyst/ActionChain.pm
b/lib/Catalyst/ActionChain.pm
index
496000b
..
ed2fb51
100644
(file)
--- a/
lib/Catalyst/ActionChain.pm
+++ b/
lib/Catalyst/ActionChain.pm
@@
-34,6
+34,9
@@
sub dispatch {
}
local $c->request->{arguments} = \@args;
$action->dispatch( $c );
+
+ # break the chain if exception occurs in the middle of chain
+ return if (@{$c->error} && $c->config->{abort_chain_on_error_fix});
}
$last->dispatch( $c );
}