Skip to content

Commit 1907119

Browse files
committed
Remove unnecessary logging
1 parent 4577110 commit 1907119

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

src/lib/instrumentation.ts

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,5 @@ export function trackMCP(
6767
},
6868
timeout: 2000,
6969
})
70-
.then((response) => {
71-
logger.info(
72-
`MCP ${isSuccess ? "event" : "failure event"} tracked successfully`,
73-
{
74-
toolName,
75-
response,
76-
},
77-
);
78-
})
79-
.catch((error: unknown) => {
80-
logger.warn(
81-
`Failed to track MCP ${isSuccess ? "event" : "failure event"}: ${error instanceof Error ? error.message : String(error)}`,
82-
{
83-
toolName,
84-
},
85-
);
86-
});
70+
.catch(() => {});
8771
}

0 commit comments

Comments
 (0)