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

fix: update show message method to get custom error messages #42

Merged

Conversation

OlfaBensoussia
Copy link
Contributor

What this PR changes/adds

This PR attempts to fix the issue of having a hardcoded error message for the create and update ops. We added another argument to the private method showError where we can pass a custom message while still logging the original error message

Why it does that

We made this change to get verbose and self-descriptive error

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes #41

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt added the enhancement New feature or request label Aug 16, 2023
@ndr-brt ndr-brt self-requested a review August 16, 2023 14:59
@ndr-brt ndr-brt merged commit 82739c9 into eclipse-edc:main Aug 17, 2023
2 checks passed
@ndr-brt ndr-brt deleted the 41-wrong-error-msg-displayed branch August 17, 2023 07:46
@ndr-brt
Copy link
Member

ndr-brt commented Aug 17, 2023

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong error message in assets and policies views
2 participants