Skip to content

Commit 0bb1f66

Browse files
committed
perf(logging): improve inactive logging
1 parent 3566805 commit 0bb1f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp-proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const updateBackendConnections = async (newServerConfig: Config, newToolC
6464
if (isActive) {
6565
activeServersConfigLocal[serverKey] = serverConf;
6666
} else {
67-
const serverName = serverConf.name || (isSSEConfig(serverConf) ? serverConf.url : isStdioConfig(serverConf) ? serverConf.command : serverKey);
67+
const serverName = serverKey;
6868
logger.log(`Skipping inactive server during update: ${serverName}`);
6969
}
7070
}

0 commit comments

Comments
 (0)