Skip to content

Commit 08eb024

Browse files
author
David Hasani
committed
fix test
1 parent 025123c commit 08eb024

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/core/src/codewhisperer/service/transformByQ/transformApiHandler.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ export async function uploadArtifactToS3(
132132
)
133133
} catch (e: any) {
134134
if (response && !retriableCodes.includes(response.status)) {
135-
throw new Error(
136-
`Upload failed with status code = ${response.status}; did not automatically retry; full error = ${JSON.stringify(e)}`
137-
)
135+
throw new Error(`Upload failed with status code = ${response.status}; did not automatically retry`)
138136
}
139137
if (i !== 3) {
140138
await sleep(1000 * Math.pow(2, i))

0 commit comments

Comments
 (0)