Skip to content

Commit 4fa8261

Browse files
authored
docs(ai) Fix Sentry import (#14588)
1 parent 701b447 commit 4fa8261

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/product/insights/ai/agents/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The Sentry JavaScript SDK supports AI agent monitoring through the Vercel AI int
120120
#### Quick Start with Vercel AI SDK
121121

122122
```javascript
123-
import { Sentry } from "@sentry/node";
123+
import * as Sentry from "@sentry/node";
124124

125125
// Sentry init needs to be above everything else
126126
Sentry.init({

docs/product/insights/ai/mcp/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The Sentry JavaScript SDK supports MCP monitoring by wrapping the MCP Server fro
1717
#### Quick Start with MCP Server
1818

1919
```javascript
20-
import { Sentry } from "@sentry/node";
20+
import * as Sentry from "@sentry/node";
2121
import { McpServer } from "@modelcontextprotocol/sdk";
2222

2323
// Sentry init needs to be above everything else

0 commit comments

Comments
 (0)