mirror of https://github.com/langgenius/dify.git
fix: fix check workflow_run (#33028)
Co-authored-by: 非法操作 <hjlarry@163.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
7d25415e4d
commit
92bde3503b
|
|
@ -132,6 +132,8 @@ class WorkflowRunDetailApi(Resource):
|
|||
app_id=app_model.id,
|
||||
run_id=workflow_run_id,
|
||||
)
|
||||
if not workflow_run:
|
||||
raise NotFound("Workflow run not found.")
|
||||
return workflow_run
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue