refactor(resolved_tasks):create logs for control the API-answer

This commit is contained in:
Angelina Tingaeva 2023-12-11 17:21:38 +05:00
parent e1e199c53f
commit c36858f891

View File

@ -44,7 +44,7 @@ def close_tasks_in_queue(queue_name):
)
if response.status_code == 200:
print('Response is ok, lets close tasks!')
logger.debug('Response: %s', response.content)
tasks = response.json().get('status', [])
for task in tasks:
task_id = task['issue-id']