Skip to content

Commit 6842886

Browse files
committed
Dont bother checking the error, just pass it back
1 parent 6cd9bc4 commit 6842886

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/toolsets/toolsets.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ func NewServerTool[In any, Out any](tool mcp.Tool, handler mcp.ToolHandlerFor[In
4646
}
4747

4848
resp, _, err := handler(ctx, req, arguments)
49-
if err != nil {
50-
return nil, err
51-
}
5249

5350
return resp, err
5451
}

0 commit comments

Comments
 (0)