pluralsh/plural-cli

More sanitized error message when subdomain is already registered

Closed this issue · 2 comments

image

Suggested error message: Subdomain is already taken.

Hey @samweaver, I can do this, I need some help with navigating to that file, and currently the version in go.mod is 1.18, should I update it to 1.19?

Sorry for the confusion but it seems that this issue has been fixed:

if pluralDns {
client := api.NewClient()
if err := client.CreateDomain(res); err != nil {
return fmt.Errorf("Domain %s is taken or your user doesn't have sufficient permissions to create domains", val)
}
}