lib/peddler/errors/parser.rb in peddler-1.6.0 vs lib/peddler/errors/parser.rb in peddler-1.6.1

- old
+ new

@@ -17,12 +17,10 @@ end private def find_data - xml - .fetch('ErrorResponse', {}) - .fetch('Error', {}) + xml.dig('ErrorResponse', 'Error') end end end end