Skip to content

Commit 9eb5957

Browse files
HenryNguyen5npalm
authored andcommitted
Use console.dir for higher logging depth (#147)
1 parent 2c4db2c commit 9eb5957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/runners/lambdas/runners/src/lambda.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { scaleDown } from './scale-runners/scale-down';
33
import { SQSEvent } from 'aws-lambda';
44

55
module.exports.scaleUp = async (event: SQSEvent, context: any, callback: any) => {
6-
console.log(event);
6+
console.dir(event, { depth: 5 });
77
try {
88
for (const e of event.Records) {
99
await scaleUp(e.eventSource, JSON.parse(e.body));

0 commit comments

Comments
 (0)