Skip to content

Commit 7de7506

Browse files
committed
Revert Weaviate error handling as requested
1 parent 9d32d63 commit 7de7506

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

backend/main.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,8 @@ async def test_weaviate_connection(self):
6868
if await client.is_ready():
6969
logger.info("Weaviate connection successful and ready")
7070
except Exception as e:
71-
logger.warning(f"Failed to connect to Weaviate during startup: {e}")
72-
logger.warning("Continuing without Weaviate - some features may not work")
73-
# Don't raise - allow backend to start even if Weaviate is unavailable
71+
logger.error(f"Failed to connect to Weaviate: {e}")
72+
raise
7473

7574
async def stop_background_tasks(self):
7675
"""Stops all background tasks and connections gracefully."""

0 commit comments

Comments
 (0)