summaryrefslogtreecommitdiff
path: root/lib/rest_client_wrapper.rb
diff options
context:
space:
mode:
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