Skip to content

Commit

Permalink
nit: text change
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hasani committed Dec 15, 2024
1 parent 5657b2e commit 914fbf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export async function uploadArtifactToS3(
}
}
if (!response || response.status !== 200) {
const uploadFailedError = `Upload failed after up to 2 retries with status code = ${response?.status ?? 'unavailable'}`
const uploadFailedError = `Upload failed after up to 3 attempts with status code = ${response?.status ?? 'unavailable'}`
getLogger().error(`CodeTransformation: ${uploadFailedError}`)
throw new Error(uploadFailedError)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ describe('transformByQ', function () {
error = e as Error
}

sinon.assert.match(error?.message.includes('Upload failed after up to 3 retries'), true)
sinon.assert.match(error?.message.includes('Upload failed after up to 3 attempts'), true)
sinon.assert.calledThrice(fetchStub)
})

Expand Down

0 comments on commit 914fbf8

Please sign in to comment.