lib/eia/ibge.rb in eia-1.6.7 vs lib/eia/ibge.rb in eia-1.7.7
- old
+ new
@@ -119,10 +119,10 @@
rescue Exception => e
if e.to_s.include? "incompatível com a tabela" then
return Array.new
else
- puts "Error parsing the JSON response: #{e}"
+ puts "Error parsing the JSON response: #{e}\nTrace: #{e.backtrace}"
return nil
end
end
end
end