Update templates/workflow_template.py.j2
Some checks failed
CI Workflow / Testing the Flow (push) Failing after 1m51s
CI Workflow / Containerize the Flow (push) Has been skipped

This commit is contained in:
admin user 2025-02-06 17:28:13 +00:00
parent fd436a9c35
commit 1f655343e5

View File

@ -111,7 +111,7 @@ class {{ workflow_class_name }}:
block_error = { block_error = {
"code": type(e).__name__, "code": type(e).__name__,
"description": str(e), "description": str(e),
"details": {} "details": {"cause": str(getattr(e, "cause", "No additional details"))}
} }
workflow_output["status"] = "failed" workflow_output["status"] = "failed"
# Collect block output # Collect block output