Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix: catch import error

Andy Lif1ea0bb90405
diff --git a/letta/server/rest_api/app.py b/letta/server/rest_api/app.py
index 6cc64dd34..c12b722b0 100644
--- a/letta/server/rest_api/app.py
+++ b/letta/server/rest_api/app.py
@@ -109,7 +109,7 @@ async def lifespan(app_: FastAPI):
verbose=3,
)
logger.info("Profiler started.")
- except (ValueError, NotImplementedError) as exc:
+ except Exception as exc:
logger.info("Profiler not enabled: %", exc)
logger.info(f"[Worker {worker_id}] Starting lifespan initialization")