From b0f4f1288ebd7128f4f17bf99c17d5e3800a9cb4 Mon Sep 17 00:00:00 2001 From: Ericson Soares Date: Tue, 22 Oct 2024 00:51:49 -0300 Subject: [PATCH] Small bootstrap fix --- core/src/api/cloud/mod.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/core/src/api/cloud/mod.rs b/core/src/api/cloud/mod.rs index dd2bde419..611fb0c31 100644 --- a/core/src/api/cloud/mod.rs +++ b/core/src/api/cloud/mod.rs @@ -215,7 +215,15 @@ pub(crate) fn mount() -> AlphaRouter { }| { let node = &node; - async move { initialize_cloud_sync(pub_id, library, node).await } + async move { + match initialize_cloud_sync(pub_id, library, node).await { + // If we don't have this library locally, we didn't joined this group yet + Ok(()) | Err(LibraryManagerError::LibraryNotFound) => { + Ok(()) + } + Err(e) => Err(e), + } + } }, ) .collect::>()