mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
ErrorResponse#to_s should not contain tty color codes (Closes #152)
This commit is contained in:
parent
57b74aa144
commit
cdce779e44
@ -316,7 +316,7 @@ module HTTPX
|
||||
|
||||
if Exception.method_defined?(:full_message)
|
||||
def to_s
|
||||
@error.full_message
|
||||
@error.full_message(highlight: false)
|
||||
end
|
||||
else
|
||||
def to_s
|
||||
|
Loading…
x
Reference in New Issue
Block a user