From c36858f891441761d91323cbc6c6a0f346dab127 Mon Sep 17 00:00:00 2001 From: Angelina Tingaeva Date: Mon, 11 Dec 2023 17:21:38 +0500 Subject: [PATCH] refactor(resolved_tasks):create logs for control the API-answer --- resolved_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolved_task.py b/resolved_task.py index b8122ac..a0252ce 100644 --- a/resolved_task.py +++ b/resolved_task.py @@ -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']