Skip to content

Commit 4698590

Browse files
committed
Changing status code from 4XX to 5XX for CreateTestJobError
1 parent d893719 commit 4698590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class CodeWhispererUTGChatManager(val project: Project, private val cs: Coroutin
134134
val errorMessage = getTelemetryErrorMessage(e, CodeWhispererConstants.FeatureName.TEST_GENERATION)
135135
throw codeTestServerException(
136136
"CreateTestJobError: $errorMessage",
137-
"400",
137+
"500",
138138
"CreateTestJobError",
139139
message("testgen.error.generic_technical_error_message")
140140
)

0 commit comments

Comments
 (0)