mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
putting the exception class in the to_s is redundant
This commit is contained in:
parent
d5e13e0958
commit
fe3e1197f8
1 changed files with 5 additions and 1 deletions
|
@ -99,7 +99,11 @@ module RestClient
|
|||
end
|
||||
|
||||
def inspect
|
||||
"#{self.class} : #{http_code} #{message}"
|
||||
"#{message} #{http_code}"
|
||||
end
|
||||
|
||||
def to_s
|
||||
inspect
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue