diff options
Diffstat (limited to 'lib/puppet/parser/interpreter.rb')
-rw-r--r-- | lib/puppet/parser/interpreter.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/puppet/parser/interpreter.rb b/lib/puppet/parser/interpreter.rb index 88ab5854e..508bd17bd 100644 --- a/lib/puppet/parser/interpreter.rb +++ b/lib/puppet/parser/interpreter.rb @@ -81,6 +81,9 @@ module Puppet if Puppet[:debug] puts except.stack end + if Puppet[:debug] + puts caller + end #exit(1) raise rescue => except @@ -88,7 +91,7 @@ module Puppet [except.class, except.message]) error.stack = caller if Puppet[:debug] - puts error.stack + puts caller end raise error end |