Skip to content

Commit fa6e2be

Browse files
committed
Remove comments
1 parent 624ac3e commit fa6e2be

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

contrib/mark3labs/mcp-go/hooks.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@ func NewHooks() *Hooks {
5151

5252
// AddHooks adds Datadog tracing hooks to an existing server.Hooks object.
5353
func (h *Hooks) AddHooks(hooks *server.Hooks) {
54-
// Add tool call hooks
5554
hooks.AddBeforeCallTool(h.onBeforeCallTool)
5655
hooks.AddAfterCallTool(h.onAfterCallTool)
57-
58-
// Add error hook for tool errors
5956
hooks.AddOnError(h.onError)
6057
}
6158

0 commit comments

Comments
 (0)