More debug

master
Bob Mottram 2019-08-16 19:32:26 +01:00
parent db3ecc9511
commit 8332f9dae9
1 changed files with 9 additions and 5 deletions

View File

@ -2632,7 +2632,7 @@ class PubServer(BaseHTTPRequestHandler):
'/users/' in self.path:
if not self.outboxAuthenticated:
if self.server.debug:
print('DEBUG: unathenticated attempt to post image to outbox')
print('DEBUG: unauthenticated attempt to post image to outbox')
self.send_response(403)
self.end_headers()
self.server.POSTbusy=False
@ -2698,6 +2698,8 @@ class PubServer(BaseHTTPRequestHandler):
self.server.POSTbusy=False
return
else:
if self.server.debug:
print('Failed to post to outbox')
self.send_response(403)
self.end_headers()
self.server.POSTbusy=False
@ -2762,6 +2764,8 @@ class PubServer(BaseHTTPRequestHandler):
self.end_headers()
self.server.POSTbusy=False
return
if self.server.debug:
print('Unknown status from _updateInboxQueue')
else:
if self.server.debug:
print('self.postToNickname is None')