From 3af7fbeda5aa2784cbadd3992a08dd071e5dced4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 30 Apr 2021 10:24:56 +0100 Subject: [PATCH] Debug for timeline --- posts.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/posts.py b/posts.py index ccdd3786c..719390761 100644 --- a/posts.py +++ b/posts.py @@ -3193,6 +3193,10 @@ def _createBoxIndexed(recentPostsCache: {}, postsInBox, boxActor): postsAddedToTimeline += 1 totalPostsCount += 1 + else: + print('WARN: Unable to add post ' + postUrl + + ' nickname ' + nickname + + ' timeline ' + boxname) else: if timelineNickname != nickname: # if this is the features timeline @@ -3204,6 +3208,10 @@ def _createBoxIndexed(recentPostsCache: {}, postsInBox, boxActor): postsAddedToTimeline += 1 totalPostsCount += 1 + else: + print('WARN: Unable to add features post ' + + postUrl + ' nickname ' + nickname + + ' timeline ' + boxname) else: print('WARN: features timeline. ' + 'Unable to locate post ' + postUrl)