diff --git a/metadata-service/factories/src/main/java/com/linkedin/gms/factory/entityregistry/EntityRegistryFactory.java b/metadata-service/factories/src/main/java/com/linkedin/gms/factory/entityregistry/EntityRegistryFactory.java index fb6b1b8bc802a8..6ef13716aaac8c 100644 --- a/metadata-service/factories/src/main/java/com/linkedin/gms/factory/entityregistry/EntityRegistryFactory.java +++ b/metadata-service/factories/src/main/java/com/linkedin/gms/factory/entityregistry/EntityRegistryFactory.java @@ -40,7 +40,8 @@ public class EntityRegistryFactory { @Bean("entityRegistry") @Primary @Nonnull - protected EntityRegistry getInstance(SpringStandardPluginConfiguration springStandardPluginConfiguration) + protected EntityRegistry getInstance( + SpringStandardPluginConfiguration springStandardPluginConfiguration) throws EntityRegistryException { BiFunction, PluginFactory> pluginFactoryProvider = (config, loaders) -> new SpringPluginFactory(applicationContext, config, loaders);