commit cff860112b351437b2f1d4d09c968ffaa14c9e2e from: mischa date: Mon Jun 27 16:14:04 2022 UTC change error for 400 from info.debug to info.error commit - 08ef69e685ee1c265b74f9e8e14a58b59cc337b9 commit + cff860112b351437b2f1d4d09c968ffaa14c9e2e blob - 7e4dcdaba5f2a21e3c00a3ce3f5ee59e4b3e0da9 blob + 64dacdb21da07d098b61debdc29e1e3663da1447 --- push.py +++ push.py @@ -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.info(response.content) + logging.error(response.content) response.raise_for_status() except Exception as e: logging.error(f'Error: {str(e)}')