fix: format err using display

This commit is contained in:
binarybaron 2024-07-26 16:25:20 +02:00
parent a5706e36f4
commit 7082e8938b
No known key found for this signature in database
GPG key ID: 99B75D3E1476A26E
2 changed files with 2 additions and 2 deletions

View file

@ -722,7 +722,7 @@ impl Request {
match result {
Ok(swap_data) => json_results.push(swap_data),
Err(e) => {
tracing::error!(swap_id = %swap_id, error = ?e, "Failed to get swap details")
tracing::error!(swap_id = %swap_id, error = %e, "Failed to get swap details")
}
}
}

View file

@ -302,7 +302,7 @@ async fn main() -> Result<()> {
}
.await
{
tracing::error!(swap_id = %swap_id, error = ?e, "Failed to get swap details");
tracing::error!(swap_id = %swap_id, error = %e, "Failed to get swap details");
}
}