summaryrefslogtreecommitdiffstats
path: root/lib/puppet/error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/error.rb')
-rw-r--r--lib/puppet/error.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/puppet/error.rb b/lib/puppet/error.rb
index 55fbf2e2f..971b31116 100644
--- a/lib/puppet/error.rb
+++ b/lib/puppet/error.rb
@@ -41,12 +41,5 @@ module Puppet # :nodoc:
# An error class for when I don't know what happened. Automatically
# prints a stack trace when in debug mode.
class DevError < Puppet::Error
- # XXX This is probably the wrong way to do this, but...
- def set_backtrace(trace)
- if Puppet[:trace]
- puts trace
- end
- super
- end
end
end