From f0c61e9b3d73a3b69f596ef9f80d47a4772ee457 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 19 Feb 2020 14:16:34 +0000 Subject: [PATCH] Show code --- session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session.py b/session.py index babfc798..eed60392 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))