From ad72cf11f243d0120db1cac5d7c39df85741bd7d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 18 Oct 2021 11:42:17 +0100 Subject: [PATCH] Comments --- posts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/posts.py b/posts.py index 045136f81..d9f42f6f1 100644 --- a/posts.py +++ b/posts.py @@ -2100,6 +2100,9 @@ def threadSendPost(session, postJsonStr: str, federationList: [], inboxUrl, signatureHeaderJson, debug) if returnCode >= 500 and returnCode < 600: + # if an instance is returning a code which indicates that + # it might have a runtime error, like 503, then don't + # continue to post to it break if debug: print('Obtained postJsonString for ' + inboxUrl +