mirror of
https://gitea.phreedom.club/localhost_frssoft/FMN_bot.git
synced 2024-11-25 13:21:29 +00:00
err headers
This commit is contained in:
parent
1a7bb87640
commit
844480b02a
|
@ -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('Повторный запрос треда...')
|
||||
|
|
Loading…
Reference in a new issue