Skip to content

Commit

Permalink
Improve display of failed balance check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Dec 18, 2024
1 parent 7cb7ac6 commit 3c08c75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/threshold-signature-server/src/helpers/launch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ pub async fn check_node_prerequisites(app_state: AppState) {
entropy_shared::MIN_BALANCE,
)
.await
.map_err(|_| {
tracing::error!("Unable to query the account balance of `{}`", &account_id);
"Unable to query account balance".to_string()
.map_err(|e| {
tracing::error!("Account: {} {}", &account_id, e);
e.to_string()
})?;
if !has_minimum_balance {
Err("Minimum balance not met".to_string())?
Expand Down

0 comments on commit 3c08c75

Please sign in to comment.