From 8a5e6db7250f79e2f52891fc8db97d5b6ac3edb4 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 29 Oct 2021 14:47:13 -0400 Subject: [PATCH] Ignore outbox errors (#1870) --- crates/apub/src/objects/community.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/crates/apub/src/objects/community.rs b/crates/apub/src/objects/community.rs index c8ddd2972..68a1af093 100644 --- a/crates/apub/src/objects/community.rs +++ b/crates/apub/src/objects/community.rs @@ -181,10 +181,14 @@ impl FromApub for Community { let form = Group::from_apub_to_form(group, expected_domain, &context.settings()).await?; let community = blocking(context.pool(), move |conn| Community::upsert(conn, &form)).await??; - update_community_mods(group, &community, context, request_counter).await?; + update_community_mods(group, &community, context, request_counter) + .await + .ok(); // TODO: doing this unconditionally might cause infinite loop for some reason - fetch_community_outbox(context, &group.outbox, request_counter).await?; + fetch_community_outbox(context, &group.outbox, request_counter) + .await + .ok(); Ok(community) }