Skip to content

Commit

Permalink
Do not change DSN (because Lambda extension is not yet ready)
Browse files Browse the repository at this point in the history
refs #5211
  • Loading branch information
antonpirker committed Jun 7, 2022
1 parent 5791c49 commit 41ae04b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/serverless/src/awslambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from '@sentry/node';
import { extractTraceparentData } from '@sentry/tracing';
import { Integration } from '@sentry/types';
import { extensionRelayDSN, isString, logger, parseBaggageString } from '@sentry/utils';
import { isString, logger, parseBaggageString } from '@sentry/utils';
// 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
// eslint-disable-next-line import/no-unresolved
import { Context, Handler } from 'aws-lambda';
Expand Down Expand Up @@ -78,8 +78,6 @@ export function init(options: Sentry.NodeOptions = {}): void {
version: Sentry.SDK_VERSION,
};

options.dsn = extensionRelayDSN(options.dsn);

Sentry.init(options);
Sentry.addGlobalEventProcessor(serverlessEventProcessor);
}
Expand Down

0 comments on commit 41ae04b

Please sign in to comment.