mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Log the class names of unimplemented extensions before
throwing the generic user-visible error. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=132884249
This commit is contained in:
parent
d7443f2eee
commit
b9b2829f7c
1 changed files with 4 additions and 1 deletions
|
@ -101,7 +101,10 @@ public abstract class LoggedInFlow extends Flow {
|
|||
allowedTlds = registrar.getAllowedTlds();
|
||||
}
|
||||
initLoggedInFlow();
|
||||
if (!difference(extensionClasses, getValidRequestExtensions()).isEmpty()) {
|
||||
Set<Class<? extends CommandExtension>> unimplementedExtensions =
|
||||
difference(extensionClasses, getValidRequestExtensions());
|
||||
if (!unimplementedExtensions.isEmpty()) {
|
||||
logger.infofmt("Unimplemented extensions: %s", unimplementedExtensions);
|
||||
throw new UnimplementedExtensionException();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue