🐛 fix(chat.py): add exception logging to track errors in stream_build function

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-20 06:59:04 -03:00
commit 55f468be3d

View file

@ -134,6 +134,7 @@ async def stream_build(flow_id: str):
# to set the input_keys values
artifacts.update(vertex.artifacts)
except Exception as exc:
logger.exception(exc)
params = str(exc)
valid = False
flow_data_store[flow_id]["status"] = BuildStatus.FAILURE