Skip to content

Commit 54e8e64

Browse files
andreiborzaclaude
andauthored
fix(server-utils): Use Bun-safe diagnostics channel wrappers in MCP integration (#24797)
## What The MCP server integration now uses the shared diagnostics channel wrappers, so its subscription stays alive on Bun. ## Why #24529 and #24632 merged at the same time, and the direct `node:diagnostics_channel` import now fails lint on `develop` and on the 11.1.0 release PR. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent b0a7cc6 commit 54e8e64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/server-utils/src/integrations/mcp-server.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as diagnosticsChannel from 'node:diagnostics_channel';
1+
import * as diagnosticsChannel from '../utils/diagnosticsChannel';
22
import type { IntegrationFn } from '@sentry/core';
33
import { defineIntegration } from '@sentry/core';
44
import { wrapMcpServerWithSentry } from '@sentry/core/server';

0 commit comments

Comments
 (0)