Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
conico974 committed Sep 27, 2024
1 parent 0edf13d commit df19bde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/open-next/src/cache/incremental/s3-lite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const awsFetch = async (key: string, options: RequestInit) => {
const { CACHE_BUCKET_REGION, CACHE_BUCKET_NAME } = process.env;
const client = getAwsClient();
const url = `https://${CACHE_BUCKET_NAME}.s3.${CACHE_BUCKET_REGION}.amazonaws.com/${key}`;
return customFetchClient(client)(url, options).finally(console.log);
return customFetchClient(client)(url, options);
};

function buildS3Key(key: string, extension: Extension) {
Expand Down Expand Up @@ -75,7 +75,6 @@ const incrementalCache: IncrementalCache = {
},
);
if (response.status !== 200) {
console.log(response);
throw new RecoverableError(`Failed to set cache: ${response.status}`);
}
},
Expand Down

0 comments on commit df19bde

Please sign in to comment.