Skip to content

Commit d957b09

Browse files
committed
Remove logger and ignore exception
1 parent 6c06cf7 commit d957b09

File tree

1 file changed

+1
-3
lines changed
  • PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.azureexplorer/src/com/microsoft/azuretools/azureexplorer/forms

1 file changed

+1
-3
lines changed

PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.azureexplorer/src/com/microsoft/azuretools/azureexplorer/forms/AddNewClusterForm.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333

3434
public class AddNewClusterForm extends AzureTitleAreaDialogWrapper {
3535

36-
private static final Logger log = Logger.getLogger(AddNewClusterForm.class.getName());
3736
private String clusterName;
3837
private String userName;
3938
private String password;
@@ -149,8 +148,7 @@ protected Control createDialogArea(Composite parent) {
149148
IWebBrowser webBrowser = PlatformUI.getWorkbench().getBrowserSupport().getExternalBrowser();
150149
if (webBrowser != null)
151150
webBrowser.openURL(new URL("https://go.microsoft.com/fwlink/?linkid=866472"));
152-
} catch (Exception e1) {
153-
log.log(Level.WARNING, e1.getMessage());
151+
} catch (Exception ignored) {
154152
}
155153
}
156154
});

0 commit comments

Comments
 (0)