# File lib/chef/knife.rb, line 479 def format_rest_error(response) Array(Chef::JSONCompat.from_json(response.body)["error"]).join('; ') rescue Exception response.body end