# File lib/heroku/command.rb, line 158 def self.parse_error_xml(body) xml_errors = REXML::Document.new(body).elements.to_a("//errors/error") msg = xml_errors.map { |a| a.text }.join(" / ") return msg unless msg.empty? rescue Exception end