lib/rets/base/sax_search.rb in caboose-rets-0.1.18 vs lib/rets/base/sax_search.rb in caboose-rets-0.1.19
- old
+ new
@@ -11,10 +11,10 @@
@current_tag = nil
# Figure out if the request is a success
if tag == "RETS"
@rets_data[:code], @rets_data[:text] = attrs.first.last, attrs.last.last
- if @rets_data[:code] != "0" and @rets_data[:code] != "20201"
+ if @rets_data[:code] != "0" and @rets_data[:code] != "20201" and @rets_data[:code] != "20206" #added this check 7385
raise RETS::APIError.new("#{@rets_data[:code]}: #{@rets_data[:text]}", @rets_data[:code], @rets_data[:text])
end
# Determine the separator for data
elsif tag == "DELIMITER"