fix: change wrong logging

This commit is contained in:
Tunglies
2025-08-17 17:58:52 +08:00
Unverified
parent 1065f224a9
commit 853667420c

View File

@@ -518,11 +518,7 @@ impl EventDrivenProxyManager {
#[cfg(target_os = "windows")]
{
logging_error!(
Type::System,
"{}",
Self::execute_sysproxy_command(&["pac", expected_url])
);
let _ = Self::execute_sysproxy_command(&["pac", expected_url]);
}
}
@@ -535,11 +531,7 @@ impl EventDrivenProxyManager {
#[cfg(target_os = "windows")]
{
let address = format!("{}:{}", expected.host, expected.port);
logging_error!(
Type::System,
"{}",
Self::execute_sysproxy_command(&["global", &address, &expected.bypass])
);
let _ = Self::execute_sysproxy_command(&["global", &address, &expected.bypass]);
}
}