summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2013-05-19 08:30:47 -0700
committerJohn Keiser <jkeiser@opscode.com>2013-06-07 13:12:33 -0700
commit421fea23afaed6eddd76654757b25c88c49808a6 (patch)
treeb4ae62c722dbdba4edfcd3039010a26de4bd7bb0 /lib/chef
parenta456997d9b5f088d770f4b4afe1366af98c87b87 (diff)
downloadchef-421fea23afaed6eddd76654757b25c88c49808a6.tar.gz
Transmit ALL exceptions to the calling thread
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/chef_fs/parallelizer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/parallelizer.rb b/lib/chef/chef_fs/parallelizer.rb
index e0e7a77322..84f3d4d870 100644
--- a/lib/chef/chef_fs/parallelizer.rb
+++ b/lib/chef/chef_fs/parallelizer.rb
@@ -94,7 +94,7 @@ class Chef
begin
@outputs[index] = @block.call(input)
@status[index] = :finished
- rescue
+ rescue Exception
@outputs[index] = $!
@status[index] = :exception
end