diff --git a/nevmes-core/src/i2p.rs b/nevmes-core/src/i2p.rs index 00f30c9..2767ab2 100644 --- a/nevmes-core/src/i2p.rs +++ b/nevmes-core/src/i2p.rs @@ -189,10 +189,11 @@ pub async fn check_connection() -> ProxyStatus { .output() .expect("check i2p connection failed"); let str_status = String::from_utf8(output.stdout).unwrap(); - debug!("http proxy is {}", &str_status); if str_status == ProxyStatus::Open.value() { + debug!("http proxy is open"); ProxyStatus::Open } else { + debug!("http proxy is open"); ProxyStatus::Opening } }