You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/codescan/CodeWhispererCodeScanException.kt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ open class CodeWhispererCodeFixException(override val message: String?) : Runtim
12
12
openclassCodeWhispererCodeScanServerException(
13
13
overridevalmessage:String?,
14
14
valrequestId:String?,
15
+
valid2:String?,
15
16
valrequestServiceType:String?,
16
17
valhttpStatusCode:String?,
17
18
) : RuntimeException()
@@ -37,9 +38,10 @@ internal fun fileTooLarge(): Nothing =
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/util/CodeWhispererZipUploadManager.kt
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ class CodeWhispererZipUploadManager(private val project: Project) {
63
63
var requestId:String?=null
64
64
var requestServiceType:String?=null
65
65
var httpStatusCode:String?=null
66
+
var id2:String?=null
66
67
try {
67
68
// Throw error if zipFile is invalid.
68
69
if (!zipFile.exists()) {
@@ -77,7 +78,7 @@ class CodeWhispererZipUploadManager(private val project: Project) {
77
78
val url = createUploadUrlResponse.uploadUrl()
78
79
LOG.debug { "$featureUseCase: Uploading $artifactType using the presigned URL." }
79
80
80
-
uploadArtifactToS3(
81
+
val connection =uploadArtifactToS3(
81
82
url,
82
83
createUploadUrlResponse.uploadId(),
83
84
zipFile,
@@ -86,6 +87,8 @@ class CodeWhispererZipUploadManager(private val project: Project) {
0 commit comments