Skip to content

Commit 24de835

Browse files
should stringify event for eas of read
1 parent a11dfa5 commit 24de835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Log.debug('lambda executing...');
99

1010
export const handler: Handler = middy(
1111
async (event: any): Promise<any> => {
12-
Log.info(`Event: ${event}.`);
12+
Log.info(`Event: ${JSON.stringify(event)}.`);
1313
let hw: string = 'Hello Dummy Function';
1414
Log.info(`${hw}. Environment: ${NODE_ENV}`);
1515
Log.info(

0 commit comments

Comments
 (0)