feat: adjust clash info parsing logs

This commit is contained in:
GyDi
2022-08-15 20:21:43 +08:00
committed by GitHub
parent fa65f606b8
commit 7f321c89cb
4 changed files with 56 additions and 182 deletions

View File

@@ -193,7 +193,10 @@ impl Sysopt {
log_if_err!(sysproxy.set_sys());
}
None => log::error!(target: "app", "failed to parse clash port"),
None => {
let status = &clash.info.status;
log::error!(target: "app", "failed to parse clash port with status {status}")
}
}
}