ErrorResponse#to_s should not contain tty color codes (Closes #152)

This commit is contained in:
HoneyryderChuck 2021-09-15 22:18:21 +01:00
parent 57b74aa144
commit cdce779e44

View File

@ -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