mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not log exception if plugin host for PluginAdvertiser is not available #IDEA-169872 fixed
This commit is contained in:
+4
@@ -45,6 +45,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
import javax.swing.event.HyperlinkEvent;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.net.UnknownHostException;
|
||||
import java.util.*;
|
||||
|
||||
public class PluginsAdvertiser implements StartupActivity {
|
||||
@@ -335,6 +336,9 @@ public class PluginsAdvertiser implements StartupActivity {
|
||||
|
||||
ApplicationManager.getApplication().invokeLater(this::onSuccess, ModalityState.NON_MODAL);
|
||||
}
|
||||
catch (UnknownHostException e) {
|
||||
LOG.warn("Host name could not be resolved: " + e.getMessage());
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOG.info(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user