From 533a1ef925f405de07e02c226399acae2b10fbdf Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 28 Feb 2024 13:40:17 -0300 Subject: [PATCH] Fix error logging in build_vertex function --- src/backend/langflow/api/v1/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/langflow/api/v1/chat.py b/src/backend/langflow/api/v1/chat.py index a4937789e..10b9d9e38 100644 --- a/src/backend/langflow/api/v1/chat.py +++ b/src/backend/langflow/api/v1/chat.py @@ -181,7 +181,7 @@ async def build_vertex( result_data_response = ResultDataResponse(**result_dict.model_dump()) except Exception as exc: - logger.error(f"Error building vertex: {exc}") + logger.exception(f"Error building vertex: {exc}") params = format_exception_message(exc) valid = False result_data_response = ResultDataResponse(results={})