Merge branch 'main' into 'main'

Updated the warning message providing additional information about the type of the proxy port.

See merge request tpo/core/arti!596
This commit is contained in:
eta 2022-06-21 12:47:46 +00:00
commit 073b64b155
1 changed files with 1 additions and 2 deletions

View File

@ -257,8 +257,7 @@ pub async fn run<R: Runtime>(
}
if proxy.is_empty() {
// TODO change this message so it's not only about socks_port
warn!("No proxy port set; specify -p PORT or use the `socks_port` configuration option.");
warn!("No proxy port set; specify -p PORT (for `socks_port`) or -d PORT (for `dns_port`). Alternatively, use the `socks_port` or `dns_port` configuration option.");
return Ok(());
}