code cleans ,and add exception message. (#24536)

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
This commit is contained in:
湛露先生
2025-08-26 14:52:11 +08:00
committed by GitHub
parent 6727ff6dbe
commit 13d3271ec0
3 changed files with 2 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ class PluginAppBackwardsInvocation(BaseBackwardsInvocation):
"""
workflow = app.workflow
if not workflow:
raise ValueError("")
raise ValueError("unexpected app type")
return WorkflowAppGenerator().generate(
app_model=app,