-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
The error message is not user-friendly when adding duplicate permissions. #12773
Labels
Milestone
Comments
Can you upgrade to new version and retry? |
KomachiSion
added
contribution welcome
area/Nacos console
Related to Nacos consle
and removed
status/need feedback
labels
Oct 31, 2024
littlesparklet
added a commit
to littlesparklet/nacos
that referenced
this issue
Oct 31, 2024
3 tasks
littlesparklet
added a commit
to littlesparklet/nacos
that referenced
this issue
Nov 29, 2024
zhouchunhai
added a commit
to zhouchunhai/nacos
that referenced
this issue
Nov 29, 2024
5 tasks
KomachiSion
pushed a commit
that referenced
this issue
Dec 6, 2024
…ns or binding relationship. (#12926) * Fix unfriendly message when adding duplicate roles. * unit test. * correct code style. * correct code style. * correct code style.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The error message is not user-friendly when adding duplicate permissions.
Expected behavior
I expect a friendly error message, such as 'This permission already exists, please do not add it again.'
Actually behavior
The prompt is not friendly enough, as it prints out backend stack trace information.
How to Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: