mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 14:55:23 +00:00
refac
This commit is contained in:
parent
7aa3903b6b
commit
f7b0fdde2a
1 changed files with 2 additions and 1 deletions
|
|
@ -199,9 +199,10 @@ async def verify_tool_servers_config(
|
||||||
except HTTPException as e:
|
except HTTPException as e:
|
||||||
raise e
|
raise e
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
log.debug(f"Failed to connect to the tool server: {e}")
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=400,
|
status_code=400,
|
||||||
detail=f"Failed to connect to the tool server: {str(e)}",
|
detail=f"Failed to connect to the tool server",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue