Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions packages/aws-serverless/src/integration/awslambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@ import { createRequire } from 'node:module';
import { DEBUG_BUILD } from '../debug-build';
import { parseHandlerString, resolveHandlerFile } from '../handlerResolution';

interface AwsLambdaOptions {
// TODO(v11): Remove this option since it's no longer used.
/**
* @deprecated This option no longer does anything and will be removed in a future major version.
* Sentry trace propagation always takes precedence.
*/
disableAwsContextPropagation?: boolean;
}

const SHIM_MODULE_ID = '@sentry/aws-serverless/run-lambda-handler';

function resolveShimFile(): string | undefined {
Expand Down Expand Up @@ -101,7 +92,7 @@ const AWS_LAMBDA_CONTEXT_FIELDS = [

const AWS_CLOUDWATCH_CONTEXT_FIELDS = ['log_group', 'log_stream', 'url'] as const;

const _awsLambdaIntegration = ((_options: AwsLambdaOptions = {}) => {
const _awsLambdaIntegration = (() => {
return {
name: 'AwsLambda' as const,
setupOnce() {
Expand Down
Loading