Add debug message for non-supported PC in log_handler

A debug message has been added to the log_handler function in the athenad.py file. This message will get triggered when the function is being invoked on a non-supported PC, providing a clearer indication of potential errors due to platform incompatibility.
This commit is contained in:
DevTekVE
2024-06-10 08:55:23 +02:00
parent a79a044a25
commit 85fb840575
+1
View File
@@ -632,6 +632,7 @@ def add_log_to_queue(log_path, log_id, is_sunnylink = False):
def log_handler(end_event: threading.Event, log_attr_name=LOG_ATTR_NAME) -> None:
is_sunnylink = log_attr_name != LOG_ATTR_NAME
if PC:
cloudlog.debug("athena.log_handler: Not supported on PC")
return
log_files = []