Debug header on signature failure

merge-requests/21/head
Bob Mottram 2021-03-14 18:16:24 +00:00
parent a19822ce5a
commit 5981ee16d8
1 changed files with 1 additions and 2 deletions

View File

@ -2888,8 +2888,7 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int,
debug):
httpSignatureFailed = True
print('Queue: Header signature check failed')
if debug:
pprint(queueJson['httpHeaders'])
pprint(queueJson['httpHeaders'])
else:
if debug:
print('DEBUG: http header signature check success')