mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-26 20:13:40 +00:00
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:
@@ -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}")
|
||||
|
Reference in New Issue
Block a user