diff --git a/session.py b/session.py index babfc7984..eed603926 100644 --- a/session.py +++ b/session.py @@ -103,7 +103,7 @@ def postJsonString(session,postJsonStr: str, \ # return True if postResult.status_code>=400 and postResult.status_code<=405 and \ postResult.status_code!=404: - print('WARN: >>> Post to '+inboxUrl+' is unauthorized <<<') + print('WARN: >>> Post to '+inboxUrl+' is unauthorized. Code '+str(postResult.status_code)+' <<<') return False,True else: print('WARN: Failed to post to '+inboxUrl+' with headers '+str(headers))