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:
@ -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"}
|
||||
|
||||
|
Reference in New Issue
Block a user