diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-09-08 17:07:39 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-09-08 17:07:39 -0700 |
commit | 5987e76b77c65e427659340a1f90e59099cc26c8 (patch) | |
tree | 7a5be04cd8254bfc53378ed5b4c60d4e167b3410 /lib/chef/runner.rb | |
parent | df601907c9bdbc856a5f28dc96df31bae8b7a5fb (diff) | |
download | chef-5987e76b77c65e427659340a1f90e59099cc26c8.tar.gz |
Rasing exceptions, expanding the path for the source line
Diffstat (limited to 'lib/chef/runner.rb')
-rw-r--r-- | lib/chef/runner.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/runner.rb b/lib/chef/runner.rb index cd2126494a..969f42b4e3 100644 --- a/lib/chef/runner.rb +++ b/lib/chef/runner.rb @@ -80,8 +80,8 @@ class Chef end end end - rescue Exception => e - Chef::Log.error("#{resource} (#{resource.source_line} had an error:") + rescue + Chef::Log.error("#{resource} (#{resource.source_line}) had an error:") raise e end end |