Skip to content

Commit dfc6d2e

Browse files
authored
ref(serverless): Properly deprecate rethrowAfterCapture option (#9159)
This is unused since v6 but we never got around to actually remove this, so let's properly deprecate this for v8.
1 parent 25f1c49 commit dfc6d2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/serverless/src/awslambda.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export type AsyncHandler<T extends Handler> = (
3434

3535
export interface WrapperOptions {
3636
flushTimeout: number;
37-
// TODO: DEPRECATED - remove `rethrowAfterCapture` in v7
37+
/**
38+
* @deprecated This option is unused since v6 and will be removed in v8.
39+
*/
3840
rethrowAfterCapture?: boolean;
3941
callbackWaitsForEmptyEventLoop: boolean;
4042
captureTimeoutWarning: boolean;

0 commit comments

Comments
 (0)