err headers

This commit is contained in:
localhost_frssoft 2022-09-05 17:03:57 +03:00
parent 1a7bb87640
commit 844480b02a

View File

@ -36,6 +36,7 @@ def get_status_context(status_id):
else:
http_code = r.status_code
logger.error(f'Ошибка получения контекста треда {status_id}: {http_code}')
logger.error(str(r.headers))
while r.status_code != 200:
time.sleep(30)
logger.info('Повторный запрос треда...')