Update check_logs function in checker.py to modify subscription status reporting. Changed the return message from "Subscription" to "Sync" for improved clarity in log analysis. This adjustment enhances the understanding of the subscription state in the context of log processing.

This commit is contained in:
vvzvlad 2025-01-19 11:51:00 +03:00
parent c1f23386b5
commit a0d2e74115

View File

@ -148,7 +148,7 @@ def check_logs(logger):
if last_subscription_id:
logger.info(f"Subscription: {last_subscription_id}")
return {"status": f"Subscription: {last_subscription_id}"}
return {"status": f"Sync: {last_subscription_id}"}
logger.info("Not found subscription")
return {"status": "Idle"}