lib/soaspec/exchange_handlers/response_extractor.rb in soaspec-0.2.25 vs lib/soaspec/exchange_handlers/response_extractor.rb in soaspec-0.2.26

- old
+ new

@@ -26,10 +26,10 @@ case Interpreter.response_type_for(response) when :xml then IndifferentHash.new(parse_xml(response.body.to_s)) when :json IndifferentHash.new(JSON.parse(response.body.to_s)) else - raise "Unable to interpret type of #{response.body}" + raise "Unable to interpret type of '#{response.body}'. Could be because of: #{Interpreter.diagnose_error}" end end private