Skip to content

Commit 989ec02

Browse files
committed
additional logging
1 parent 09a266e commit 989ec02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/services/HackParserService.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { invokeLambda } from '@/utils/lambda';
22
import { listKeysWithPrefixWithinS3, uploadFileToS3 } from '@/utils/s3';
3+
import log from '@utils/log';
34

45
const S3_PRESIGNED_URL_EXPIRATION = 3600 * 24 * 7;
56

@@ -23,6 +24,8 @@ async function invokeS3PresignedURLGeneratorLambda(
2324
expiration,
2425
requests,
2526
});
27+
log.e('status code: ' + result.StatusCode);
28+
log.e('payload: ' + result.Payload!.toString());
2629
const response = JSON.parse(result.Payload!.toString());
2730
return response;
2831
}

0 commit comments

Comments
 (0)