-
Notifications
You must be signed in to change notification settings - Fork 60
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
Improved Error Messages #282
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Roaster05 <krishnamadhwani2@gmail.com> Signed-off-by: Roaster05 <100672872+Roaster05@users.noreply.github.com>
Signed-off-by: Roaster05 <100672872+Roaster05@users.noreply.github.com>
Signed-off-by: Roaster05 <krishnamadhwani2@gmail.com>
Signed-off-by: Roaster05 <krishnamadhwani2@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow the #262 (comment)
- remove the prefix as mentioned.
@bupd the prefix is generated by the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contributions.
I would suggest slog instead of logrus as mentioned in the below comment.
Thanks
Description
This draft PR enhances error messages for end users by replacing memory references with custom messages based on error codes and locations. These changes improve the clarity and usability of the error messages.
Key Updates
project_handler
module.Examples:
ERRO[0000] failed to create project: Project abc already exists
ERRO[0001] failed to delete project: Project my_project not found or already deleted
Harbor Go Client Documentation.
Notes
project_handler
module.