fix: do not url encode error message in sentry

This commit is contained in:
simon lehericey 2024-04-05 09:42:55 +02:00
parent 92ba1a12ce
commit 23060da306
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -6,7 +6,7 @@ class APIEntreprise::API::Error < ::StandardError
msg = <<~TEXT
url: #{uri.host}#{uri.path}
HTTP error code: #{response.code}
body: #{CGI.escape(response.body)}
body: #{response.body}
curl message: #{response.return_message}
total time: #{response.total_time}
connect time: #{response.connect_time}