mirror of https://gitlab.com/bashrc2/epicyon
Include status code in warning
parent
47601da0be
commit
ee11752b0b
|
@ -334,8 +334,8 @@ def postJsonString(session, postJsonStr: str,
|
||||||
else:
|
else:
|
||||||
if not quiet:
|
if not quiet:
|
||||||
print('WARN: Failed to post to ' + inboxUrl +
|
print('WARN: Failed to post to ' + inboxUrl +
|
||||||
' with headers ' + str(headers))
|
' with headers ' + str(headers) +
|
||||||
print('status code ' + str(postResult.status_code))
|
' status code ' + str(postResult.status_code))
|
||||||
return False, False
|
return False, False
|
||||||
return True, False
|
return True, False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue