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 0233528 commit 693dee0Copy full SHA for 693dee0
src/trace/trigger.ts
@@ -126,7 +126,7 @@ export function parseEventSource(event: any) {
126
* parseEventSourceARN parses the triggering event to determine the event source's
127
* ARN if available. Otherwise we stitch together the ARN
128
*/
129
-export function parseEventSourceARN(source: string, event: any, context: Context) {
+export function parseEventSourceARN(source: string | undefined, event: any, context: Context) {
130
const splitFunctionArn = context.invokedFunctionArn.split(":");
131
const region = splitFunctionArn[3];
132
const accountId = splitFunctionArn[4];
0 commit comments