i18n message key being returned as error message
TheMeinerLP opened this issue · comments
Description:
When uploading a release with a non-existent channel, only an i18n string is returned instead of a meaningful message.
Steps to reproduce:
- Use hangar publish plugin
- set channel to something that makes no sense
- try to release
Expected behaviour:
- a message saying that the channel is not available
meh, idk what we would do here. the backend returns those by design, the frontend does the translation. maybe when we fixed crowdin we can download the english file into the gradle plugin or something, but like, the error is understandable, your channel has no color
The actual error was that I had capitalised it instead of lower case. But I got the error message for colour.
well, "yes". you entered a channel that didnt exist, it tried to create a new channel, that failed because no color.
Wouldn't it make more sense from my point of view to say that the channel must exist instead of displaying the colour error message?
well, creating a new channel on upload is a feature.
Then I would rather ask, is it also possible to specify the colour in the plugin if it is a feature?