lib/bolt/error.rb in bolt-1.49.0 vs lib/bolt/error.rb in bolt-2.0.0

- old
+ new

@@ -99,11 +99,11 @@ super("Failed to sync modules from the Puppetfile: #{err}", 'bolt/puppetfile-error') end end class ApplyError < Error - def initialize(target) - super("Apply failed to compile for #{target}", 'bolt/apply-error') + def initialize(target, msg) + super("Apply failed to compile for #{target}: #{msg}", 'bolt/apply-error') end end class ParseError < Error def initialize(msg)