refactor: simplify logging calls by removing unnecessary parameters

This commit is contained in:
Tunglies
2025-10-10 13:46:26 +08:00
parent ea319e951c
commit 59dd71ebaa
2 changed files with 1 additions and 11 deletions

View File

@@ -199,13 +199,7 @@ async fn reinstall_service() -> Result<()> {
// 先卸载服务
if let Err(err) = uninstall_service().await {
logging!(
warn,
Type::Service,
true,
"failed to uninstall service: {}",
err
);
logging!(warn, Type::Service, "failed to uninstall service: {}", err);
}
// 再安装服务