Skip to content

Commit b30d21d

Browse files
committed
remove optional param
1 parent e695b87 commit b30d21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-serverless/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const headerGetter: TextMapGetter<APIGatewayProxyEventHeaders> = {
2626
/**
2727
* Marks an event as unhandled by adding a span processor to the passed scope.
2828
*/
29-
export function markEventUnhandled(scope: Scope, type = 'aws-serverless'): Scope {
29+
export function markEventUnhandled(scope: Scope, type: string): Scope {
3030
scope.addEventProcessor(event => {
3131
addExceptionMechanism(event, { handled: false, type });
3232
return event;

0 commit comments

Comments
 (0)