Skip to content

Commit 34d8079

Browse files
authored
QFeatureDev-handled upload failure with specific message (#4333)
1 parent fb1f9d2 commit 34d8079

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/amazonqFeatureDev/FeatureDevExceptions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ internal fun codeGenerationFailedError(): Nothing =
1717
throw FeatureDevException(message("amazonqFeatureDev.code_generation.failed_generation"))
1818

1919
internal fun uploadCodeError(): Nothing =
20-
throw FeatureDevException(message("amazonqFeatureDev.exception.uploadCode"))
20+
throw FeatureDevException(message("amazonqFeatureDev.exception.upload_code"))
2121

2222
internal fun userMessageNotFound(): Nothing =
2323
throw FeatureDevException(message("amazonqFeatureDev.exception.message_not_found"))

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ amazonqFeatureDev.exception.message_not_found=Message was not found
6464
amazonqFeatureDev.exception.open_diff_failed=Failed to open diff
6565
amazonqFeatureDev.exception.request_failed=Request failed
6666
amazonqFeatureDev.exception.retry_request_failed=Retry request failed
67-
amazonqFeatureDev.exception.uploadCode=Failed to upload code
67+
amazonqFeatureDev.exception.upload_code=Amazon Q is unable to upload workspace artifacts to S3 for feature development. For more information, see the [Amazon Q documentation](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/security_iam_manage-access-with-policies.html) or contact your network or organization administrator.
6868
amazonqFeatureDev.follow_instructions_for_authentication=Follow instructions to re-authenticate ...
6969
amazonqFeatureDev.follow_up.close_session=Close session
7070
amazonqFeatureDev.follow_up.generate_code=Generate code

0 commit comments

Comments
 (0)