Update templates/workflow_template.py.j2
This commit is contained in:
parent
fd436a9c35
commit
1f655343e5
@ -111,7 +111,7 @@ class {{ workflow_class_name }}:
|
||||
block_error = {
|
||||
"code": type(e).__name__,
|
||||
"description": str(e),
|
||||
"details": {}
|
||||
"details": {"cause": str(getattr(e, "cause", "No additional details"))}
|
||||
}
|
||||
workflow_output["status"] = "failed"
|
||||
# Collect block output
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user