summaryrefslogtreecommitdiff
path: root/lib/rest_client_wrapper.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-06-02 15:45:49 +0200
committermguetlein <martin.guetlein@gmail.com>2010-06-02 15:45:49 +0200
commit0a6f578f5f4a9e3503541dc6b5b9f1c0cfb9e8e0 (patch)
tree00bd8ddf05e5cf09aa2529c7d3902027a25df3be /lib/rest_client_wrapper.rb
parent593ab333363318ffddb00003ac846e8cfa8e6f44 (diff)
change error size restriction
Diffstat (limited to 'lib/rest_client_wrapper.rb')
-rw-r--r--lib/rest_client_wrapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rest_client_wrapper.rb b/lib/rest_client_wrapper.rb
index 83089d0..4f8b0ee 100644
--- a/lib/rest_client_wrapper.rb
+++ b/lib/rest_client_wrapper.rb
@@ -9,7 +9,7 @@ module OpenTox
def initialize(code, body, uri, payload, headers)
self.code = code
- self.body = body
+ self.body = body.to_s[0..1000]
self.uri = uri
self.payload = payload
self.headers = headers