diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-06-02 15:45:49 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-06-02 15:45:49 +0200 |
commit | 0a6f578f5f4a9e3503541dc6b5b9f1c0cfb9e8e0 (patch) | |
tree | 00bd8ddf05e5cf09aa2529c7d3902027a25df3be /lib/rest_client_wrapper.rb | |
parent | 593ab333363318ffddb00003ac846e8cfa8e6f44 (diff) |
change error size restriction
Diffstat (limited to 'lib/rest_client_wrapper.rb')
-rw-r--r-- | lib/rest_client_wrapper.rb | 2 |
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 |