From 5f9d3d5c40f128bc53c313399db68ebf2813b1d6 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 6 Mar 2024 10:55:39 -0300 Subject: [PATCH] Add exception logging in get_all function --- src/backend/langflow/api/v1/endpoints.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/langflow/api/v1/endpoints.py b/src/backend/langflow/api/v1/endpoints.py index b77685d65..5eb5e62b7 100644 --- a/src/backend/langflow/api/v1/endpoints.py +++ b/src/backend/langflow/api/v1/endpoints.py @@ -48,6 +48,7 @@ def get_all( all_types_dict = get_all_types_dict(settings_service) return all_types_dict except Exception as exc: + logger.exception(exc) raise HTTPException(status_code=500, detail=str(exc)) from exc