mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-09-19 12:24:37 -04:00
fix: format err using display
This commit is contained in:
parent
a5706e36f4
commit
7082e8938b
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue