Add index.js monitoring and fix capturing server error output

This commit is contained in:
Saoud Rizwan
2024-12-10 14:26:25 -08:00
parent 61311e3f41
commit 1319105bb4
6 changed files with 237 additions and 201 deletions

View File

@@ -195,7 +195,14 @@ const ServerRow = ({ server }: { server: McpServer }) => {
borderRadius: "0 0 4px 4px",
width: "100%",
}}>
<div style={{ color: "var(--vscode-testing-iconFailed)", marginBottom: "8px", padding: "0 10px" }}>
<div
style={{
color: "var(--vscode-testing-iconFailed)",
marginBottom: "8px",
padding: "0 10px",
overflowWrap: "break-word",
wordBreak: "break-word",
}}>
{server.error}
</div>
<VSCodeButton