# File lib/heroku/command.rb, line 76 def extract_error(body) msg = parse_error_xml(body) || parse_error_json(body) || 'Internal server error' msg.split("\n").map { |line| ' ! ' + line }.join("\n") end