From 7172e95d983885f723b3a5e8b8985bf3c56023a5 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 5 Sep 2025 11:37:44 -0300 Subject: [PATCH] Update logging in initialize_services to use logger instead of print statement This commit replaces the print statement with a logger.info call in the initialize_services function, enhancing the logging practices for better error tracking and consistency across the codebase. This change aligns with the project's focus on robust async coding and well-documented code. --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 3d120d1c..a1282a9c 100644 --- a/src/main.py +++ b/src/main.py @@ -334,7 +334,7 @@ async def initialize_services(): "Failed to load persisted connections on startup", error=str(e) ) else: - print("[CONNECTORS] Skipping connection loading in no-auth mode") + logger.info("[CONNECTORS] Skipping connection loading in no-auth mode") # New: Langflow file service