fix log error
This commit is contained in:
parent
c8f29d0f02
commit
9d669a8e67
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ async def build_vertex(
|
||||||
params = format_exception_message(exc)
|
params = format_exception_message(exc)
|
||||||
valid = False
|
valid = False
|
||||||
output_label = vertex.outputs[0]["name"] if vertex.outputs else "output"
|
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)
|
result_data_response = ResultDataResponse(results={}, logs=logs)
|
||||||
artifacts = {}
|
artifacts = {}
|
||||||
# If there's an error building the vertex
|
# If there's an error building the vertex
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue