mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-05 04:02:21 +00:00
Include status code in warning
This commit is contained in:
1 parent
47601da0be
commit
ee11752b0b
1 file changed
+2
-2
+2
-2
@@ -334,8 +334,8 @@ def postJsonString(session, postJsonStr: str,
|
||||
else:
|
||||
if not quiet:
|
||||
print('WARN: Failed to post to ' + inboxUrl +
|
||||
' with headers ' + str(headers))
|
||||
print('status code ' + str(postResult.status_code))
|
||||
' with headers ' + str(headers) +
|
||||
' status code ' + str(postResult.status_code))
|
||||
return False, False
|
||||
return True, False
|
||||
|
||||
|
||||
Reference in new issue
Block a user