Skip to content

Commit

Permalink
Remove random error added for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Jan 4, 2024
1 parent 008a371 commit 001cb70
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/load-raw-near-lake.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ async function listObjects(client, { bucketName, startAfter, maxKeys }) {

async function getObject(client, { bucketName, key }) {
return withRetries(async () => {
if (Math.random() < 0.01) {
throw new Error('Random error');
}

return await client.send(
new GetObjectCommand({
Bucket: bucketName,
Expand Down

0 comments on commit 001cb70

Please sign in to comment.