Show unauthorized post

main
Bob Mottram 2021-12-02 14:16:38 +00:00
parent 33b8877144
commit 65d15b465b
1 changed files with 2 additions and 2 deletions

View File

@ -2160,8 +2160,8 @@ def threadSendPost(session, postJsonStr: str, federationList: [],
except Exception as e: except Exception as e:
print('ERROR: postJsonString failed ' + str(e)) print('ERROR: postJsonString failed ' + str(e))
if unauthorized: if unauthorized:
print(postJsonStr) print('threadSendPost: Post is unauthorized ' +
print('threadSendPost: Post is unauthorized') inboxUrl + ' ' + postJsonStr)
break break
if postResult: if postResult:
logStr = 'Success on try ' + str(tries) + ': ' + postJsonStr logStr = 'Success on try ' + str(tries) + ': ' + postJsonStr