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(rust): return better error message when using project ticket unenrolled #6891

Conversation

adrianbenavides
Copy link
Member

Lands #6806

Fixes #5226

@adrianbenavides adrianbenavides requested a review from a team as a code owner November 11, 2023 19:14
@adrianbenavides adrianbenavides force-pushed the adrian/improve-error-message-unenrolled-project-ticket branch from 9932ba4 to 008d48e Compare November 11, 2023 19:15
@adrianbenavides adrianbenavides mentioned this pull request Nov 11, 2023
5 tasks
etorreborre
etorreborre previously approved these changes Nov 11, 2023
@adrianbenavides
Copy link
Member Author

After investigating this in detail, this PR should probably be closed. As described in this test, we can create a standalone, local authority that can use the project ticket command.

So, the current error that we return is the most general error we can give. Perhaps we should extend the message returned when the project is not found, advising the user to enroll. The local authority use case is probably too advanced to have a tailored message for that case. What do you think?

auto-merge was automatically disabled November 30, 2023 17:12

Pull request was closed

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.

ockam project ticket should return a proper error message
2 participants