mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-07 00:05:02 -04:00
Merge branch 'issue-152' into 'master'
ErrorResponse#to_s should not contain tty color codes Closes #152 See merge request honeyryderchuck/httpx!169
This commit is contained in:
commit
4014d4ec2c
@ -316,7 +316,7 @@ module HTTPX
|
|||||||
|
|
||||||
if Exception.method_defined?(:full_message)
|
if Exception.method_defined?(:full_message)
|
||||||
def to_s
|
def to_s
|
||||||
@error.full_message
|
@error.full_message(highlight: false)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
def to_s
|
def to_s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user