commands icon indicating copy to clipboard operation
commands copied to clipboard

[Question] handling and catching a MISSING_LANGUAGE_KEY:must_be_a_number

Open ghost opened this issue 5 years ago • 2 comments

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?

ghost avatar Oct 01 '20 06:10 ghost

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.

aikar avatar Oct 01 '20 16:10 aikar

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?

ghost avatar Oct 02 '20 11:10 ghost