mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-15 02:59:48 -04:00
More descriptive log message
This commit is contained in:
parent
cfaf9ee257
commit
7e5e34f239
1 changed files with 2 additions and 1 deletions
|
@ -117,7 +117,8 @@ async fn main() -> Result<()> {
|
|||
};
|
||||
let tor_port = if _ac.is_some() { config.tor.socks5_port } else { 0u16 };
|
||||
let proxy_string = if tor_port != 0u16 { format!("127.0.0.1:{}", tor_port) } else { "".to_string() };
|
||||
tracing::info!(%proxy_string, "SOCKS5");
|
||||
let info_message = if proxy_string.is_empty() { "Not using SOCKS5 proxy" } else { "Using SOCKS5 proxy at" };
|
||||
tracing::info!(%proxy_string, info_message);
|
||||
|
||||
match cmd {
|
||||
Command::Start { resume_only } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue