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

[Question] handling and catching a MISSING_LANGUAGE_KEY:must_be_a_number #295

Open
ghost opened this issue Oct 1, 2020 · 2 comments
Open
Labels

Comments

@ghost
Copy link

ghost commented Oct 1, 2020

Hey there.
I need to catch error from your awesome framework like this "MISSING_LANGUAGE_KEY:must_be_a_number", "MISSING_LANGUAGE_KEY:invalid_syntax".
Cuz my logic must return nothing, an empty, as though nothing happened. Maybe then my custom error.

How it handle?

@aikar
Copy link
Owner

aikar commented Oct 1, 2020

this isn't something your suppose to catch, this implies there is a build configuration problem.

It appears the language files are not being included in your jar file.

Please jump on discord and post your build scripts to help get this figured out.

@ghost
Copy link
Author

ghost commented Oct 2, 2020

really?
but I thought that is just an arising error when an arg have to be Integer.
This was as a result of input string value in argument which must be an integer.
Maybe all the same this is a common reaction of your framework?

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

No branches or pull requests

2 participants