lib/peddler/errors/error.rb in peddler-1.6.4 vs lib/peddler/errors/error.rb in peddler-1.6.5

- old
+ new

@@ -18,10 +18,10 @@ # @api private class Error < StandardError attr_reader :cause - def initialize(msg, cause) + def initialize(msg = nil, cause = nil) @cause = cause super msg end end