From cdce779e447dcf29c64540fa7e3e3ff974f99f6a Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Wed, 15 Sep 2021 22:18:21 +0100 Subject: [PATCH] ErrorResponse#to_s should not contain tty color codes (Closes #152) --- lib/httpx/response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/httpx/response.rb b/lib/httpx/response.rb index 0a76d558..4bbdc776 100644 --- a/lib/httpx/response.rb +++ b/lib/httpx/response.rb @@ -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