Fix error logging in build_vertex function

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-28 13:40:17 -03:00
commit 533a1ef925

View file

@ -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={})