We need to improve the way of logging errors not to skip important information regarding errors.
Inside the function crates/solver-service/src/apis/quote/generation.rs for get_token_name function, we have the following RPC call:
let result = self
.delivery_service
.contract_call(chain_id, tx)
.await
.map_err(|e| {
QuoteError::InvalidRequest(format!("Failed to get token name: {}", e))
})?;
We should find some way to always catch and log the error details. For example, for some reason, when the RPC returns a time-out, we are not seeing anything relevant when you need to analyze the error and check from which it comes
We need to improve the way of logging errors not to skip important information regarding errors.
Inside the function
crates/solver-service/src/apis/quote/generation.rsforget_token_namefunction, we have the following RPC call:We should find some way to always catch and log the error details. For example, for some reason, when the RPC returns a time-out, we are not seeing anything relevant when you need to analyze the error and check from which it comes