diff --git a/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt b/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt index 511b4f3c9c7..8b02c019c21 100644 --- a/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt +++ b/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt @@ -297,7 +297,7 @@ class CodeWhispererUTGChatManager(val project: Project, private val cs: Coroutin // TODO: Modify text according to FnF codeTestChatHelper.addAnswer( CodeTestChatMessageContent( - message = message("testgen.message.failed"), + message = message("testgen.error.generic_technical_error_message"), type = ChatMessageType.Answer, canBeVoted = true ) diff --git a/plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties b/plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties index dfddec8a168..ed823f2b891 100644 --- a/plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties +++ b/plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties @@ -2068,7 +2068,7 @@ testgen.error.generic_error_message=Amazon Q encountered an error while generati testgen.error.generic_technical_error_message=I am experiencing technical difficulties at the moment. Please try again in a few minutes. testgen.error.maximum_generations_reach=You've reached the monthly quota for Amazon Q Developer's agent capabilities. You can try again next month. For more information on usage limits, see the Amazon Q Developer pricing page. testgen.message.cancelled=Unit test generation cancelled. -testgen.message.failed=Sorry, Test generation failed. Please try again in few minutes. +testgen.message.failed=Test generation failed testgen.message.regenerate_input=Sure thing. Please provide new instructions for me to generate the tests, and select the function(s) you would like to test. testgen.message.success=Unit test generation completed. testgen.no_file_found=Sorry, there isn't a source file open right now that I can generate a test for. Make sure you open a source file so I can generate tests.