Skip to content

Commit

Permalink
log s3 url for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehoehns committed Feb 20, 2025
1 parent c23e5ce commit 09a266e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/bot/acceptReviewRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,9 @@ export const acceptReviewRequest = {
try {
const review = await activeReviewRepo.getReviewByThreadIdOrFail(threadId);
if (review.pdfIdentifier) {
blocks.push(
textBlock(
`HackerRank PDF: <${await generateHackParserPresignedURL(review.pdfIdentifier)}|${review.pdfIdentifier}>`,
),
);
const url = await generateHackParserPresignedURL(review.pdfIdentifier);
log.e(url);
blocks.push(textBlock(`HackerRank PDF: <${url}|${review.pdfIdentifier}>`));

const codeKeys = await listHackParserCodeKeys(review.pdfIdentifier);
if (codeKeys.length) {
Expand Down

0 comments on commit 09a266e

Please sign in to comment.