Skip to content

Commit f42f866

Browse files
committed
add better formatting
1 parent 40fbb6c commit f42f866

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/ghmcp/server.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,8 @@ func NewMCPServer(cfg MCPServerConfig) (*server.MCPServer, error) {
108108

109109
enabledToolsets, invalidToolsets := cleanToolsets(cfg.EnabledToolsets, cfg.DynamicToolsets)
110110

111-
// Log warning about invalid toolsets
112111
if len(invalidToolsets) > 0 {
113-
slog.Warn("invalid toolsets ignored", "toolsets", strings.Join(invalidToolsets, ", "))
112+
fmt.Fprintf(os.Stderr, "Invalid toolsets ignored: %s\n", strings.Join(invalidToolsets, ", "))
114113
}
115114

116115
// Generate instructions based on enabled toolsets

0 commit comments

Comments
 (0)