diff options
author | danielsdeleo <dan@opscode.com> | 2014-01-20 16:58:25 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2014-01-20 16:58:42 -0800 |
commit | d357a0f3253900e65e38edefe999d6a832df06d8 (patch) | |
tree | cf62547838425559dbd9bfc6a686428be7ee15a8 /lib/chef/application.rb | |
parent | b7d801cae217216b74df0bcfcb04518e15319a9c (diff) | |
download | chef-d357a0f3253900e65e38edefe999d6a832df06d8.tar.gz |
Fix indentation of rescue clause
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r-- | lib/chef/application.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb index eba24ea17c..04e88de2ce 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -118,9 +118,9 @@ class Chef::Application configure_stdout_logger end Chef::Log.level = resolve_log_level - rescue => error - Chef::Log.fatal("Failed to open or create log file at #{Chef::Config[:log_location]}: #{error.class} (#{error.message})") - Chef::Application.fatal!("Aborting due to invalid 'log_location' configuration", 2) + rescue StandardError => error + Chef::Log.fatal("Failed to open or create log file at #{Chef::Config[:log_location]}: #{error.class} (#{error.message})") + Chef::Application.fatal!("Aborting due to invalid 'log_location' configuration", 2) end def configure_stdout_logger |