Skip to content

Commit b3ade09

Browse files
committed
Exception needs not tobe reverted
1 parent 1c02728 commit b3ade09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/codewhisperer/service/securityScanHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ export async function uploadArtifactToS3(
306306
`Amazon Q is unable to upload workspace artifacts to Amazon S3 for security scans. For more information, see the Amazon Q documentation or contact your network or organization administrator.`
307307
)
308308
const errorMessage = getTelemetryReasonDesc(error)?.includes(`"PUT" request failed with code "403"`)
309-
? `UploadArtifactToS3Exception: "PUT" request failed with code "403"`
309+
? `"PUT" request failed with code "403"`
310310
: getTelemetryReasonDesc(error) ?? 'Security scan failed.'
311311

312312
throw new UploadArtifactToS3Error(errorMessage)

0 commit comments

Comments
 (0)