Skip to content

Commit e0a3d4e

Browse files
authored
fix(serverless) Do not change DSN in Serverless integration (#5212)
1 parent e5477a4 commit e0a3d4e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/serverless/src/awslambda.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
} from '@sentry/node';
1212
import { extractTraceparentData } from '@sentry/tracing';
1313
import { Integration } from '@sentry/types';
14-
import { extensionRelayDSN, isString, logger, parseBaggageString } from '@sentry/utils';
14+
import { isString, logger, parseBaggageString } from '@sentry/utils';
1515
// NOTE: I have no idea how to fix this right now, and don't want to waste more time, as it builds just fine — Kamil
1616
// eslint-disable-next-line import/no-unresolved
1717
import { Context, Handler } from 'aws-lambda';
@@ -78,8 +78,6 @@ export function init(options: Sentry.NodeOptions = {}): void {
7878
version: Sentry.SDK_VERSION,
7979
};
8080

81-
options.dsn = extensionRelayDSN(options.dsn);
82-
8381
Sentry.init(options);
8482
Sentry.addGlobalEventProcessor(serverlessEventProcessor);
8583
}

0 commit comments

Comments
 (0)