mirror of
https://github.com/google/nomulus
synced 2026-01-06 21:47:31 +00:00
Provide better error message for abuse contact phone number
Make it clear that all the user need to do to rectify is to provide a phone number ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=153191178
This commit is contained in:
@@ -286,7 +286,8 @@ public class RegistrarSettingsAction implements Runnable, JsonActionRunner.JsonA
|
||||
&& !any(newContactsByType.get(type), HAS_PHONE)) {
|
||||
throw new ContactRequirementException(
|
||||
String.format(
|
||||
"At least one %s contact must have a phone number", type.getDisplayName()));
|
||||
"Please provide a phone number for at least one %s contact",
|
||||
type.getDisplayName()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user