mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 05:24:18 +02:00
fix the message
This commit is contained in:
parent
f3e1e757cd
commit
5bcb3f52c3
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ class Tool(BaseModel):
|
|||
|
||||
return _convert_to_content(result, serializer=self.serializer)
|
||||
except Exception as e:
|
||||
logger.exception(e)
|
||||
logger.exception(f"Tool {self.name} failed")
|
||||
raise ToolError(f"Error executing tool {self.name}: {e}") from e
|
||||
|
||||
def to_mcp_tool(self, **overrides: Any) -> MCPTool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue