We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e695b87 commit b30d21dCopy full SHA for b30d21d
packages/aws-serverless/src/utils.ts
@@ -26,7 +26,7 @@ const headerGetter: TextMapGetter<APIGatewayProxyEventHeaders> = {
26
/**
27
* Marks an event as unhandled by adding a span processor to the passed scope.
28
*/
29
-export function markEventUnhandled(scope: Scope, type = 'aws-serverless'): Scope {
+export function markEventUnhandled(scope: Scope, type: string): Scope {
30
scope.addEventProcessor(event => {
31
addExceptionMechanism(event, { handled: false, type });
32
return event;
0 commit comments