Add extra debug logging to anime path

This commit is contained in:
Luke D. Jones
2025-01-20 13:43:38 +13:00
parent fb98827a1a
commit cba8e1a473
9 changed files with 58 additions and 20 deletions

View File

@@ -208,7 +208,15 @@ pub fn init_tray(_supported_properties: Vec<Properties>, config: Arc<Mutex<Confi
}
}
}
Err(e) => warn!("Couldn't get mode form supergfxd: {e:?}")
Err(e) => match e {
zbus::Error::MethodError(_, _, message) => {
warn!(
"Couldn't get mode from supergfxd: {message:?}, the supergfxd service \
may not be running or installed"
)
}
_ => warn!("Couldn't get mode from supergfxd: {e:?}")
}
}
info!("Started ROGTray");