diff options
author | tyler-ball <tyleraball@gmail.com> | 2014-12-09 10:22:28 -0800 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-12-17 18:52:23 -0800 |
commit | 1d64d2371e1abe83c3fe726e46e95d924a44e15d (patch) | |
tree | 780a22d6603eed7160a3dd931bd08a55852d2468 /lib/chef/exceptions.rb | |
parent | 3b3d05b91e0e6f54a2a28539c695fe7ec7c66550 (diff) | |
download | chef-1d64d2371e1abe83c3fe726e46e95d924a44e15d.tar.gz |
Rescuing Exception blind was covering up an unexpected error
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index dabdd03802..b204f6ef2a 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -409,7 +409,7 @@ class Chef attr_reader :wrapped_errors def initialize(*errors) errors = errors.select {|e| !e.nil?} - output = "Found #{errors.size} errors, they are stored in the backtrace\n" + output = "Found #{errors.size} errors, they are stored in the backtrace" @wrapped_errors = errors super output end |