Skip to content

Commit afe592c

Browse files
committed
chore: remove debug log
1 parent 9cd48ee commit afe592c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/server/server.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ package server
55

66
import (
77
"context"
8-
"encoding/json"
98
"errors"
109
"log"
1110
"log/slog"
@@ -85,13 +84,11 @@ func NewServer(
8584
)
8685
})
8786
hooks.AddAfterCallTool(func(ctx context.Context, id any, message *mcp.CallToolRequest, result *mcp.CallToolResult) {
88-
jd, _ := json.Marshal(result)
8987
logger.InfoContext(
9088
ctx,
9189
"tool call finished",
9290
slog.Any("id", id),
9391
slog.String("tool", message.Params.Name),
94-
slog.String("result", string(jd)),
9592
)
9693
})
9794
hooks.AddOnError(func(ctx context.Context, id any, method mcp.MCPMethod, message any, err error) {

0 commit comments

Comments
 (0)