feat: dbgpts modules bug fix (#1921)

Co-authored-by: 途杨 <tuyang.yhj@antgroup.com>
Co-authored-by: lhwan <1017484907@qq.com>
Co-authored-by: hustcc <i@hust.cc>
This commit is contained in:
明天
2024-08-30 10:03:58 +08:00
committed by GitHub
parent f72db23bab
commit f866580703
374 changed files with 1598 additions and 1602 deletions

View File

@@ -153,7 +153,10 @@ async def update(
Returns:
ServerResponse: The response
"""
return Result.succ(service.update_flow(request))
try:
return Result.succ(service.update_flow(request))
except Exception as e:
return Result.failed(msg=str(e))
@router.delete("/flows/{uid}")