From 917771c32d9597554b5f1887265426194858815a Mon Sep 17 00:00:00 2001 From: Mikhail Davydov Date: Fri, 2 Jun 2023 12:53:00 +0300 Subject: [PATCH] add logging --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index 8b080c2..a187414 100644 --- a/app.py +++ b/app.py @@ -472,6 +472,8 @@ def notifier_task_hash(task, label=""): print(f"Querying task for deletion due to expiration label: '{str(item)}") delete_ids.append(item['task_id']) break + else: + print(f"Task is marked to expire, but it's not due yet {label}: {str(item)}") else: print(f"Label did not match expire label pattern: {label} ({expire_regex})")