From 853667420c0b81bcf267cc3ce122939eaecd9c43 Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Sun, 17 Aug 2025 17:58:52 +0800 Subject: [PATCH] fix: change wrong logging --- src-tauri/src/core/event_driven_proxy.rs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src-tauri/src/core/event_driven_proxy.rs b/src-tauri/src/core/event_driven_proxy.rs index 9357a271..53aa3082 100644 --- a/src-tauri/src/core/event_driven_proxy.rs +++ b/src-tauri/src/core/event_driven_proxy.rs @@ -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]); } }