fix: wrong service status when handle service status error

This commit is contained in:
oomeow 2025-12-06 20:34:41 +08:00
parent c1489647d1
commit 86936d5322
No known key found for this signature in database
GPG Key ID: B7BC3926B326F37B

View File

@ -504,6 +504,7 @@ impl ServiceManager {
pub async fn refresh(&mut self) -> Result<()> {
let status = self.check_service_comprehensive().await;
self.0 = status.clone();
logging_error!(Type::Service, self.handle_service_status(&status).await);
Ok(())
}