lib/service_adaptors/amazon.rb in umlaut-3.0.0alpha8 vs lib/service_adaptors/amazon.rb in umlaut-3.0.0alpha9
- old
+ new
@@ -179,11 +179,12 @@
# if we get an error from Amazon, return now.
err = (aws.at("ItemLookupResponse/Items/Request/Errors/Error"))
err = (aws.at("ItemLookupErrorResponse")) if err.blank?
+ debugger
unless (err.blank?)
- if (err.at('code').inner_text == 'AWS.InvalidParameterValue')
+ if (err.at('Code').text == 'AWS.InvalidParameterValue')
# Indicates an ISBN that Amazon doesn't know about, or that
# was mal-formed. We can't tell the difference, so either
# way let's silently ignore.
return
else