diff --git a/src-tauri/src/core/service.rs b/src-tauri/src/core/service.rs index 679c03d148acfac9e1281e2966eed55b3f1e08d6..a2ce71e8658a856680fb0a2725be577d2a531b0d 100644 --- a/src-tauri/src/core/service.rs +++ b/src-tauri/src/core/service.rs @@ -172,6 +172,8 @@ impl Service { log::error!(target: "app" ,"[clash error]: {}", err); write_log(err); } + CommandEvent::Error(err) => log::error!(target: "app" ,"{err}"), + CommandEvent::Terminated(_) => break, _ => {} } }