From 065b9f82cd641e10ef484e7c0cc8eb9c065d5c5e Mon Sep 17 00:00:00 2001 From: none <nan@n.an> Date: Sun, 5 Jan 2025 14:33:19 -0500 Subject: [PATCH] ignore 401 when identity deletion is processed by remote earlier --- activities/models/fan_out.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/activities/models/fan_out.py b/activities/models/fan_out.py index 61398dea..6c663396 100644 --- a/activities/models/fan_out.py +++ b/activities/models/fan_out.py @@ -122,6 +122,8 @@ def handle_new(cls, instance: "FanOut"): ), body=canonicalise(post.to_delete_ap()), ) + except ValueError: + pass # ignore 401 when identity deletion is processed by remote earlier except httpx.RequestError: return