Fix error chain logging and withdrawal fees (#4718)

* Log Labrinth errors properly

* Tweak how we do Tremendous fees

* Fix maths for Tremendous fees
This commit is contained in:
aecsocket
2025-11-04 17:50:54 -08:00
committed by GitHub
parent 4636372ff4
commit 23d098eee5
2 changed files with 25 additions and 7 deletions

View File

@@ -317,11 +317,11 @@ struct ApiDoc;
fn log_error(err: &actix_web::Error) {
if err.as_response_error().status_code().is_client_error() {
tracing::debug!(
"Error encountered while processing the incoming HTTP request: {err}"
"Error encountered while processing the incoming HTTP request: {err:#?}"
);
} else {
tracing::error!(
"Error encountered while processing the incoming HTTP request: {err}"
"Error encountered while processing the incoming HTTP request: {err:#?}"
);
}
}