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/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -530,7 +530,10 @@ class CodeWhispererUTGChatManager(val project: Project, private val cs: Coroutin
530
530
// Add an answer for displaying error message
531
531
val errorMessage =when {
532
532
e isCodeTestException&& e.statusCode =="400"&&
533
-
e.message?.startsWith("CreateTestJobError: Maximum com.amazon.aws.codewhisperer.runtime.StartTestGeneration reached for this month.") ==true->
533
+
e.message?.startsWith(
534
+
"CreateTestJobError: "+
535
+
"Maximum com.amazon.aws.codewhisperer.runtime.StartTestGeneration reached for this month."
0 commit comments