Skip to content

Commit

Permalink
#6930: Uncaught Exception com.microsoft.azure.toolkit.lib.auth.AzureT…
Browse files Browse the repository at this point in the history
…oolkitAuthenticationException: you are not signed-in.
  • Loading branch information
wangmingliang-ms committed Sep 26, 2022
1 parent cf33895 commit 2fc1184
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.microsoft.azure.toolkit.lib.auth.AzureAccount;
import com.microsoft.azure.toolkit.lib.auth.IAccountActions;
import com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException;
import com.microsoft.azure.toolkit.lib.common.messager.ExceptionNotification;
import com.microsoft.azure.toolkit.lib.common.model.Subscription;
import org.apache.commons.lang3.StringUtils;

Expand Down Expand Up @@ -59,6 +60,7 @@ protected JComponent createCenterPanel() {
return contentPane;
}

@ExceptionNotification
private void createUIComponents() {
// TODO: place custom component creation code here
final List<Subscription> selectedSubscriptions = az(AzureAccount.class).account().getSelectedSubscriptions();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.microsoft.azure.toolkit.lib.auth.AzureAccount;
import com.microsoft.azure.toolkit.lib.auth.IAccountActions;
import com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException;
import com.microsoft.azure.toolkit.lib.common.messager.ExceptionNotification;
import com.microsoft.azure.toolkit.lib.common.model.Subscription;
import org.jetbrains.annotations.Nullable;

Expand Down Expand Up @@ -61,6 +62,7 @@ protected String getDialogTitle() {
return message("webapp.create.dialog.title");
}

@ExceptionNotification
private void createUIComponents() {
// TODO: place custom component creation code here
advancedForm = new WebAppConfigFormPanelAdvance(project);
Expand Down

0 comments on commit 2fc1184

Please sign in to comment.