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

Ability to modify command error message #736

Closed
AkmalFairuz opened this issue Jan 28, 2023 · 0 comments · Fixed by #961
Closed

Ability to modify command error message #736

AkmalFairuz opened this issue Jan 28, 2023 · 0 comments · Fixed by #961
Labels
improvement Improvement of an existing part of the codebase
Milestone

Comments

@AkmalFairuz
Copy link
Contributor

The command error message must not hardcoded like this:
https://github.com/df-mc/dragonfly/blob/master/server/cmd/argument.go#L123

We want to be able to change command error messages, in my case I wanted to change this error to be more informative, like which parameter was missing, and internationalization.

@JustTalDevelops JustTalDevelops added the improvement Improvement of an existing part of the codebase label Feb 2, 2023
@JustTalDevelops JustTalDevelops added this to the v0.10.0 milestone Feb 2, 2023
@Sandertv Sandertv linked a pull request Dec 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement of an existing part of the codebase
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants