mirror of
https://github.com/wahyd4/ruby-sdk.git
synced 2026-08-09 12:56:21 +10:00
Don't override to_s of Exception with inspect.
This causes infinite recursion.
This commit is contained in:
@@ -4,9 +4,6 @@ module Qiniu
|
||||
module RS
|
||||
|
||||
class Exception < RuntimeError
|
||||
def to_s
|
||||
inspect
|
||||
end
|
||||
end
|
||||
|
||||
class ResponseError < Exception
|
||||
|
||||
Reference in New Issue
Block a user