Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add conversation id on error messages in amazonqFeatureDev #4978

Merged
merged 1 commit into from
May 16, 2024

Conversation

sannicm
Copy link
Contributor

@sannicm sannicm commented May 13, 2024

Problem

Even with the conversation id in the info logs, it could be cumbersome for a customer to get it. From UX feedback it was proposed to add the conversation on the error messages to be more specific and direct, and make the sharing of the conversation Id to customer support more convenient.

Solution

if the session has a conversation id, error messages will show the id with an accompanying text.

How the message will look:

Screenshot 2024-05-15 at 14 35 26

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@justinmk3 justinmk3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after feature dev team approval

@@ -194,7 +194,7 @@ export class FeatureDevController {
// TODO add type
private async processUserChatMessage(message: any) {
if (message.message === undefined) {
this.messenger.sendErrorMessage('chatMessage should be set', message.tabID, 0, undefined)
this.messenger.sendErrorMessage('chatMessage should be set', message.tabID, 0, undefined, undefined)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non-blocker: I wonder if session can be obtained before this line and the conversationId would be incliuded in this error, too.

Something we can discuss offline, not a big deal atm.

@hayemaxi hayemaxi merged commit b24e963 into aws:master May 16, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants