summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/chef_fs/parallelizer/parallel_enumerable.rb')
-rw-r--r--lib/chef/chef_fs/parallelizer/parallel_enumerable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb b/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
index 8845b6926a..26dd30592c 100644
--- a/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
+++ b/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
@@ -266,7 +266,7 @@ class Chef
begin
output = @block.call(input)
@unconsumed_output.push([ output, index, input, :result ])
- rescue
+ rescue StandardError, ScriptError
if @options[:stop_on_exception]
@unconsumed_input.clear
end