feat(tracing): added tracing::instrument to ComponentsLoader::get_wine_versions

This commit is contained in:
Observer KRypt0n_ 2023-03-24 14:12:10 +02:00
parent 9283fc056f
commit c64787bf8a
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -166,6 +166,8 @@ impl ComponentsLoader {
}
}
/// Try to get wine versions from components index
#[tracing::instrument(level = "debug", ret)]
pub fn get_wine_versions(&self) -> anyhow::Result<Vec<wine::Group>> {
get_wine_versions(&self.folder)
}