fix log error

This commit is contained in:
italojohnny 2024-06-18 10:28:33 -03:00
commit 9d669a8e67

View file

@ -188,7 +188,7 @@ async def build_vertex(
params = format_exception_message(exc)
valid = False
output_label = vertex.outputs[0]["name"] if vertex.outputs else "output"
logs = {output_label: [Log(message=params, type="error")]}
logs = {output_label: Log(message=params, type="error")}
result_data_response = ResultDataResponse(results={}, logs=logs)
artifacts = {}
# If there's an error building the vertex