mirror of
https://github.com/google/nomulus
synced 2026-01-05 04:56:03 +00: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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user