chore: use Debug to print errors (#2086)

This commit is contained in:
Luna Yao
2026-04-09 03:45:55 +02:00
committed by GitHub
parent c5fbd29c0e
commit a8feb9ac2b
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ impl NatDstConnector for NatDstTcpConnector {
let socket = match TcpSocket::new_v4() {
Ok(s) => s,
Err(error) => {
log::error!(%error, "create v4 socket failed");
log::error!(?error, "create v4 socket failed");
return Err(error.into());
}
};