Skip to content

Commit 8a76040

Browse files
committed
Keep core for logging abstraction
1 parent 7c3e2fa commit 8a76040

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

packages/mcp-server/package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
"author": "Sentry",
1414
"description": "Sentry MCP Server",
1515
"homepage": "https://github.com/getsentry/sentry-mcp",
16-
"keywords": [
17-
"sentry"
18-
],
16+
"keywords": ["sentry"],
1917
"bugs": {
2018
"url": "https://github.com/getsentry/sentry-mcp/issues"
2119
},
@@ -26,9 +24,7 @@
2624
"bin": {
2725
"sentry-mcp": "./dist/index.js"
2826
},
29-
"files": [
30-
"./dist/*"
31-
],
27+
"files": ["./dist/*"],
3228
"exports": {
3329
".": {
3430
"types": "./dist/index.ts",
@@ -87,6 +83,7 @@
8783
},
8884
"dependencies": {
8985
"@modelcontextprotocol/sdk": "^1.10.2",
86+
"@sentry/core": "^9.16.1",
9087
"@sentry/node": "^9.16.1",
9188
"zod": "^3.24.3"
9289
}

packages/mcp-server/src/logging.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { captureException, captureMessage, withScope } from "@sentry/node";
1+
import { captureException, captureMessage, withScope } from "@sentry/core";
22

33
export function logError(
44
error: Error | unknown,

0 commit comments

Comments
 (0)