Skip to content

Commit

Permalink
additional logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehoehns committed Feb 21, 2025
1 parent 09a266e commit 27dd053
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/services/HackParserService.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { invokeLambda } from '@/utils/lambda';
import { listKeysWithPrefixWithinS3, uploadFileToS3 } from '@/utils/s3';
import log from '@utils/log';

const S3_PRESIGNED_URL_EXPIRATION = 3600 * 24 * 7;

Expand All @@ -23,6 +24,8 @@ async function invokeS3PresignedURLGeneratorLambda(
expiration,
requests,
});
log.e("status code: " + result.StatusCode)
log.e("payload: " + result.Payload!.toString())
const response = JSON.parse(result.Payload!.toString());
return response;
}
Expand Down

0 comments on commit 27dd053

Please sign in to comment.