mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
61f20acf61
commit
c42c0436f2
1 changed files with 2 additions and 1 deletions
|
|
@ -164,9 +164,10 @@ async def verify_tool_servers_config(
|
||||||
"specs": specs,
|
"specs": specs,
|
||||||
}
|
}
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
log.debug(f"Failed to create MCP client: {e}")
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=400,
|
status_code=400,
|
||||||
detail=f"Failed to create MCP client: {str(e)}",
|
detail=f"Failed to create MCP client",
|
||||||
)
|
)
|
||||||
finally:
|
finally:
|
||||||
if client:
|
if client:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue