summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Campbell <hikeit@gmail.com>2013-02-11 18:35:54 -0500
committerBryan McLellan <btm@opscode.com>2013-02-26 11:11:44 -0800
commitaa4235dbd8b0d40d9fea29f75f3ba35e01ef0c43 (patch)
tree25b41819ebea7f4ea3882d61d18c8d80d5ba1077
parentd457d8a0c4ddf2ec1af3059312914ae58b409f6b (diff)
downloadchef-aa4235dbd8b0d40d9fea29f75f3ba35e01ef0c43.tar.gz
e.response can sometimes trash a terminal session.
-rw-r--r--lib/chef/provider/remote_file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/remote_file.rb b/lib/chef/provider/remote_file.rb
index 44fa0ca5e9..82ccec76c7 100644
--- a/lib/chef/provider/remote_file.rb
+++ b/lib/chef/provider/remote_file.rb
@@ -102,7 +102,7 @@ class Chef
raise e
rescue => e
if e.is_a?(RestClient::Exception)
- error = "\nRequest returned #{e.message}\nresponse: #{e.response}"
+ error = "Request returned #{e.message}"
else
error = e.to_s
end