Don't override to_s of Exception with inspect.

This causes infinite recursion.
This commit is contained in:
Howard Yeh
2012-11-27 18:52:41 +08:00
parent 864076b9ec
commit 1a73c39ffb
-3
View File
@@ -4,9 +4,6 @@ module Qiniu
module RS
class Exception < RuntimeError
def to_s
inspect
end
end
class ResponseError < Exception