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

[Enhancement] Improve 'Key Not Found' Error Messages #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

chen-tf
Copy link

@chen-tf chen-tf commented Jan 3, 2025

Descriptions

The current log message does not indicate which flag key is not set on the UI panel. If we only observe from the application, it is difficult to identify and add the missing flagr toggle.

image

Changes

When the flagId and variant cannot be found, include the flag key information from the evaluation context in the message to facilitate subsequent corrections.

JamHsu
JamHsu previously approved these changes Jan 8, 2025
Copy link

@JamHsu JamHsu left a comment

Choose a reason for hiding this comment

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

Thank you for modifying the exception message, it will help us better identify the missing flag key.
@NoahHsu @tennosuke5245 I think the updated message is quite clear. Do you have any other suggestions?

@NoahHsu
Copy link
Contributor

NoahHsu commented Jan 23, 2025

I think the copyright needs to be updated. can @chen-tf help to check that and run the gradle license plugin in your machine
image

@CLAassistant
Copy link

CLAassistant commented Feb 12, 2025

CLA assistant check
All committers have signed the CLA.

@NoahHsu NoahHsu requested a review from JamHsu February 12, 2025 04:12
Copy link

@JamHsu JamHsu left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants