@@ -120,7 +120,7 @@ public class PluginSubscriber {
...
@@ -120,7 +120,7 @@ public class PluginSubscriber {
LOG.info("Version has been updated, new version is {}",dynamicVersion);
LOG.info("Version has been updated, new version is {}",dynamicVersion);
}else{
}else{
thrownewPluginException("Version updating will be ignored, because input localVersion="+localVersion+", current localVersion="+pluginAdapter.getLocalVersion());
thrownewDiscoveryException("Version updating will be ignored, because input localVersion="+localVersion+", current localVersion="+pluginAdapter.getLocalVersion());
}
}
}
}
}
}
...
@@ -137,7 +137,7 @@ public class PluginSubscriber {
...
@@ -137,7 +137,7 @@ public class PluginSubscriber {
LOG.info("Version clearing has been triggered");
LOG.info("Version clearing has been triggered");
if(versionClearedEvent==null){
if(versionClearedEvent==null){
thrownewPluginException("VersionClearedEvent can't be null");
thrownewDiscoveryException("VersionClearedEvent can't be null");
@@ -156,7 +156,7 @@ public class PluginSubscriber {
...
@@ -156,7 +156,7 @@ public class PluginSubscriber {
LOG.info("Version has been cleared");
LOG.info("Version has been cleared");
}else{
}else{
thrownewPluginException("Version clearing will be ignored, because input localVersion="+localVersion+", current localVersion="+pluginAdapter.getLocalVersion());
thrownewDiscoveryException("Version clearing will be ignored, because input localVersion="+localVersion+", current localVersion="+pluginAdapter.getLocalVersion());