vendored/puppet/lib/puppet/error.rb in bolt-0.21.1 vs vendored/puppet/lib/puppet/error.rb in bolt-0.21.2

- old
+ new

@@ -1,10 +1,10 @@ module Puppet # The base class for all Puppet errors. It can wrap another exception class Error < RuntimeError attr_accessor :original def initialize(message, original=nil) - super(Puppet::Util::CharacterEncoding.scrub(message)) + super(message.scrub) @original = original end end module ExternalFileError