|
|
|
@ -55,6 +55,9 @@ defmodule Explorer.SmartContract.RustVerifierInterface do |
|
|
|
|
proccess_verifier_response(body) |
|
|
|
|
|
|
|
|
|
{:error, error} -> |
|
|
|
|
old_truncate = Application.get_env(:logger, :truncate) |
|
|
|
|
Logger.configure(truncate: :infinity) |
|
|
|
|
|
|
|
|
|
Logger.error(fn -> |
|
|
|
|
[ |
|
|
|
|
"Error while sending request to verification microservice url: #{url}, body: #{inspect(body, limit: :infinity, printable_limit: :infinity)}: ", |
|
|
|
@ -62,6 +65,7 @@ defmodule Explorer.SmartContract.RustVerifierInterface do |
|
|
|
|
] |
|
|
|
|
end) |
|
|
|
|
|
|
|
|
|
Logger.configure(truncate: old_truncate) |
|
|
|
|
{:error, @request_error_msg} |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
@ -75,6 +79,9 @@ defmodule Explorer.SmartContract.RustVerifierInterface do |
|
|
|
|
{:error, body} |
|
|
|
|
|
|
|
|
|
{:error, error} -> |
|
|
|
|
old_truncate = Application.get_env(:logger, :truncate) |
|
|
|
|
Logger.configure(truncate: :infinity) |
|
|
|
|
|
|
|
|
|
Logger.error(fn -> |
|
|
|
|
[ |
|
|
|
|
"Error while sending request to verification microservice url: #{url}: ", |
|
|
|
@ -82,6 +89,7 @@ defmodule Explorer.SmartContract.RustVerifierInterface do |
|
|
|
|
] |
|
|
|
|
end) |
|
|
|
|
|
|
|
|
|
Logger.configure(truncate: old_truncate) |
|
|
|
|
{:error, @request_error_msg} |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|