Skip to content

Commit

Permalink
Revert "#6725: Uncaught Exception com.microsoft.azure.toolkit.lib.aut…
Browse files Browse the repository at this point in the history
…h.exception.AzureToolkitAuthenticationException: you are not signed-in. when deploying to Azure Web App."

This reverts commit a1d8c83.
  • Loading branch information
wangmingliang-ms committed Jun 30, 2022
1 parent 379aba5 commit 77af519
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import com.intellij.openapi.options.ConfigurationException;
import com.intellij.openapi.options.SettingsEditor;
import com.intellij.openapi.project.Project;
import com.microsoft.azure.toolkit.lib.common.messager.ExceptionNotification;
import org.jetbrains.annotations.NotNull;

import javax.swing.JComponent;
Expand All @@ -21,14 +20,12 @@ public AzureSettingsEditor(@NotNull Project project) {
}

@Override
@ExceptionNotification
protected void applyEditorTo(@NotNull T conf) throws ConfigurationException {
this.getPanel().apply(conf);
conf.validate();
}

@Override
@ExceptionNotification
protected void resetEditorFrom(@NotNull T conf) {
this.getPanel().reset(conf);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import com.microsoft.azure.toolkit.intellij.common.AzureArtifactManager;
import com.microsoft.azure.toolkit.lib.common.form.AzureValidationInfo;
import com.microsoft.azure.toolkit.lib.common.form.AzureValidationInfo.Type;
import com.microsoft.azure.toolkit.lib.common.messager.ExceptionNotification;
import com.microsoft.azure.toolkit.lib.common.model.IArtifact;
import com.microsoft.azure.toolkit.lib.common.task.AzureTask;
import com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager;
Expand Down Expand Up @@ -151,7 +150,6 @@ protected void disposeEditor() {
}

@Override
@ExceptionNotification
protected void resetEditorFrom(@NotNull SpringCloudDeploymentConfiguration config) {
this.panel.setConfiguration(config);
AzureTaskManager.getInstance().runOnPooledThread(() -> {
Expand All @@ -163,7 +161,6 @@ protected void resetEditorFrom(@NotNull SpringCloudDeploymentConfiguration confi
}

@Override
@ExceptionNotification
protected void applyEditorTo(@NotNull SpringCloudDeploymentConfiguration config) throws ConfigurationException {
final List<AzureValidationInfo> infos = this.panel.getAllValidationInfos(true);
final AzureValidationInfo error = infos.stream()
Expand Down

0 comments on commit 77af519

Please sign in to comment.