diff --git a/apps/desktop/src/api/commands.rs b/apps/desktop/src/api/commands.rs index 97e50f4b..1ea6fc4c 100644 --- a/apps/desktop/src/api/commands.rs +++ b/apps/desktop/src/api/commands.rs @@ -245,9 +245,12 @@ pub async fn auth_login(handle: AppHandle) -> Result Result crate::Result<()> { tracing::trace!("re-resetting file watching system"); let mut file_watcher = crate::utils::watcher::initialize_watcher().await?; - state_write.clusters = RwLock::new(Clusters::initialize(&state_write.directories, &mut file_watcher).await?); + state_write.clusters = + RwLock::new(Clusters::initialize(&state_write.directories, &mut file_watcher).await?); state_write.watcher = RwLock::new(file_watcher); send_ingress(&ingress, 10.0, None).await?; diff --git a/packages/core/src/store/minecraft.rs b/packages/core/src/store/minecraft.rs index d8085e12..2a74aae3 100644 --- a/packages/core/src/store/minecraft.rs +++ b/packages/core/src/store/minecraft.rs @@ -1034,5 +1034,5 @@ pub enum MinecraftAuthError { #[error("failed to read user hash")] HashError, #[error("failed to read user xbox session ID")] - SessionIdError + SessionIdError, } diff --git a/packages/core/src/store/processor.rs b/packages/core/src/store/processor.rs index 35364aca..12f3d80f 100644 --- a/packages/core/src/store/processor.rs +++ b/packages/core/src/store/processor.rs @@ -582,7 +582,9 @@ impl Processor { if let Err(err) = cluster::edit(&cluster_path, |cluster| { cluster.meta.recently_played += update as u64; async { Ok(()) } - }).await { + }) + .await + { tracing::warn!( "failed to update playtime for cluster {}: {}", &cluster_path,