Skip to content

Commit 92a0ad1

Browse files
committed
Updating telemetry error message to align VSC and JB
1 parent 421a511 commit 92a0ad1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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
@@ -295,7 +295,7 @@ class CodeWhispererUTGChatManager(val project: Project, private val cs: Coroutin
295295
// TODO: Modify text according to FnF
296296
codeTestChatHelper.addAnswer(
297297
CodeTestChatMessageContent(
298-
message = message("testgen.message.failed"),
298+
message = message("testgen.error.generic_technical_error_message"),
299299
type = ChatMessageType.Answer,
300300
canBeVoted = true
301301
)

plugins/core/resources/resources/software/aws/toolkits/resources/MessagesBundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2068,7 +2068,7 @@ testgen.error.generic_error_message=Amazon Q encountered an error while generati
20682068
testgen.error.generic_technical_error_message=I am experiencing technical difficulties at the moment. Please try again in a few minutes.
20692069
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 <a href=\"https://aws.amazon.com/q/developer/pricing/\" target=\"_blank\">Amazon Q Developer pricing page</a>.
20702070
testgen.message.cancelled=Unit test generation cancelled.
2071-
testgen.message.failed=Sorry, Test generation failed. Please try again in few minutes.
2071+
testgen.message.failed=Test generation failed
20722072
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.
20732073
testgen.message.success=Unit test generation completed.
20742074
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.

0 commit comments

Comments
 (0)