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.
This commit is contained in:
parent
db65f8789a
commit
7172e95d98
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ async def initialize_services():
|
||||||
"Failed to load persisted connections on startup", error=str(e)
|
"Failed to load persisted connections on startup", error=str(e)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
print("[CONNECTORS] Skipping connection loading in no-auth mode")
|
logger.info("[CONNECTORS] Skipping connection loading in no-auth mode")
|
||||||
|
|
||||||
# New: Langflow file service
|
# New: Langflow file service
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue