aboutsummaryrefslogtreecommitdiff
path: root/activitypub/activity.go
diff options
context:
space:
mode:
authorFChannel0 <77419041+FChannel0@users.noreply.github.com>2022-07-29 14:30:21 +0000
committerGitHub <noreply@github.com>2022-07-29 14:30:21 +0000
commit301c160caf31d23ec53754df71c779c552bde891 (patch)
treeb916a6523f5096a423366874e55b44a92d1b036d /activitypub/activity.go
parent3a7664d404bca40cb3234924fa969c0ae133d085 (diff)
parent0a318777ad611e5b0080807e19d5030bbe5e8431 (diff)
Merge pull request #69 from KushBlazingJudah/masterHEADmaster
Fix fail with posting to a down instance's thread
Diffstat (limited to 'activitypub/activity.go')
-rw-r--r--activitypub/activity.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/activitypub/activity.go b/activitypub/activity.go
index bd57778..b05de07 100644
--- a/activitypub/activity.go
+++ b/activitypub/activity.go
@@ -41,7 +41,11 @@ func (activity Activity) AddFollowersTo() (Activity, error) {
reqActivity := Activity{Id: e + "/followers"}
aFollowers, err := reqActivity.GetCollection()
if err != nil {
- return activity, util.MakeError(err, "AddFollowersTo")
+ // Safely fail so we can continue to federate
+ config.Log.Printf("failed to get collection from %s: %v", reqActivity.Id, err)
+ continue
+
+ // return activity, util.MakeError(err, "AddFollowersTo")
}
// get followers of activity actor