refactor(resolved_tasks):create logs for control the API-answer
This commit is contained in:
parent
e1e199c53f
commit
c36858f891
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user