diff options
author | Markus Roberts <Markus@reality.com> | 2011-04-06 20:25:45 -0700 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2011-04-06 20:50:36 -0700 |
commit | 1e4968e82a65b21ad5d075015830ef3f54efee05 (patch) | |
tree | 23278e580116f7aa85281a1565fc771d60fc885f /lib/puppet/application.rb | |
parent | 99d78f2c15b6ccf543466d3fa2cdeda7eb3f9987 (diff) | |
download | puppet-1e4968e82a65b21ad5d075015830ef3f54efee05.tar.gz puppet-1e4968e82a65b21ad5d075015830ef3f54efee05.tar.xz puppet-1e4968e82a65b21ad5d075015830ef3f54efee05.zip |
(maint) Indentation fixes
Diffstat (limited to 'lib/puppet/application.rb')
-rw-r--r-- | lib/puppet/application.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/application.rb b/lib/puppet/application.rb index 5e69baef4..a028a158f 100644 --- a/lib/puppet/application.rb +++ b/lib/puppet/application.rb @@ -408,11 +408,11 @@ class Application private def exit_on_fail(message, code = 1) - yield + yield rescue RuntimeError, NotImplementedError => detail - puts detail.backtrace if Puppet[:trace] - $stderr.puts "Could not #{message}: #{detail}" - exit(code) + puts detail.backtrace if Puppet[:trace] + $stderr.puts "Could not #{message}: #{detail}" + exit(code) end def hook(step,&block) |