From ce96131687eeacbda59f25b4ffddeb53c86e3385 Mon Sep 17 00:00:00 2001 From: creating2morrow Date: Thu, 18 May 2023 20:13:07 -0400 Subject: [PATCH] remove newline in i2p status debug log --- nevmes-core/src/i2p.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } }