Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixellion committed Jun 2, 2023
1 parent 12cb216 commit 917771c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})")
Expand Down

0 comments on commit 917771c

Please sign in to comment.