always show 400 response.content after POST

This commit is contained in:
mischa 2022-06-21 22:13:12 +02:00
parent 1bdb888703
commit 471887eac0
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ def alkira_post(session, uri, body):
try:
response = session.post(url, data=json.dumps(body), headers=headers)
if response.status_code == 400:
logging.debug(response.content)
logging.info(response.content)
response.raise_for_status()
except Exception as e:
logging.error(f'Error: {str(e)}')