Skip to content

Commit

Permalink
Use console.dir for higher logging depth (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryNguyen5 authored Aug 20, 2020
1 parent 50287f9 commit 39a4b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/runners/lambdas/runners/src/lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { scaleDown } from './scale-runners/scale-down';
import { SQSEvent } from 'aws-lambda';

module.exports.scaleUp = async (event: SQSEvent, context: any, callback: any) => {
console.log(event);
console.dir(event, { depth: 5 });
try {
for (const e of event.Records) {
await scaleUp(e.eventSource, JSON.parse(e.body));
Expand Down

0 comments on commit 39a4b87

Please sign in to comment.