From 1a73c39ffb6468e87acbe2c0041f5a500a19b917 Mon Sep 17 00:00:00 2001 From: Howard Yeh Date: Tue, 27 Nov 2012 18:52:41 +0800 Subject: [PATCH] Don't override to_s of Exception with inspect. This causes infinite recursion. --- lib/qiniu/rs/exceptions.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/qiniu/rs/exceptions.rb b/lib/qiniu/rs/exceptions.rb index 50d092b..fa123f9 100755 --- a/lib/qiniu/rs/exceptions.rb +++ b/lib/qiniu/rs/exceptions.rb @@ -4,9 +4,6 @@ module Qiniu module RS class Exception < RuntimeError - def to_s - inspect - end end class ResponseError < Exception