Skip to content

Commit 8361439

Browse files
committed
Merge branch 'endgame-june' into endgame-june.next
2 parents 80ab14d + 37a9a5c commit 8361439

File tree

272 files changed

+4650
-10303
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

272 files changed

+4650
-10303
lines changed

PluginsAndFeatures/AddLibrary/AzureLibraries/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<parent>
2929
<groupId>com.microsoft.azuretools</groupId>
3030
<artifactId>utils</artifactId>
31-
<version>3.53.0</version>
31+
<version>3.54.0</version>
3232
</parent>
3333
<groupId>com.microsoft.azuretools</groupId>
3434
<artifactId>com.microsoft.azuretools.sdk.lib</artifactId>
@@ -38,7 +38,7 @@
3838
<organization><name>Microsoft Corp.</name></organization>
3939

4040
<properties>
41-
<azuretool.version>3.53.0</azuretool.version>
41+
<azuretool.version>3.54.0</azuretool.version>
4242
<azuretool.sdk.version>3.25.0.qualifier</azuretool.sdk.version>
4343
</properties>
4444
<dependencies>

PluginsAndFeatures/azure-toolkit-for-intellij/.idea/misc.xml

Lines changed: 11 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureComboBox.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import com.intellij.ui.SimpleListCellRenderer;
1313
import com.intellij.ui.components.fields.ExtendableTextComponent;
1414
import com.intellij.ui.components.fields.ExtendableTextField;
15-
import com.microsoft.azure.toolkit.lib.common.exception.AzureExceptionHandler;
15+
import com.microsoft.azure.toolkit.lib.common.messager.AzureMessager;
1616
import com.microsoft.azure.toolkit.lib.common.operation.AzureOperation;
1717
import com.microsoft.azure.toolkit.lib.common.task.AzureTask;
1818
import com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager;
@@ -279,7 +279,12 @@ protected T getDefaultValue() {
279279
}
280280

281281
protected void handleLoadingError(Throwable e) {
282-
AzureExceptionHandler.onRxException(e);
282+
final Throwable rootCause = ExceptionUtils.getRootCause(e);
283+
if (rootCause instanceof InterruptedIOException || rootCause instanceof InterruptedException) {
284+
// Swallow interrupted exception caused by unsubscribe
285+
return;
286+
}
287+
AzureMessager.getMessager().error(e);
283288
}
284289

285290
protected boolean isFilterable() {

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/AzureDialog.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import com.microsoft.azure.toolkit.lib.common.form.AzureForm;
1111
import com.microsoft.azure.toolkit.lib.common.form.AzureFormInput;
1212
import com.microsoft.azure.toolkit.lib.common.form.AzureValidationInfo;
13+
import com.microsoft.azure.toolkit.lib.common.messager.AzureMessager;
1314
import lombok.extern.java.Log;
1415

1516
import javax.swing.*;
@@ -35,11 +36,15 @@ public AzureDialog() {
3536

3637
@Override
3738
protected void doOKAction() {
38-
if (Objects.nonNull(this.okActionListener)) {
39-
final T data = this.getForm().getData();
40-
this.okActionListener.onOk(data);
41-
} else {
42-
super.doOKAction();
39+
try {
40+
if (Objects.nonNull(this.okActionListener)) {
41+
final T data = this.getForm().getData();
42+
this.okActionListener.onOk(data);
43+
} else {
44+
super.doOKAction();
45+
}
46+
} catch (final Exception e) {
47+
AzureMessager.getMessager().error(e);
4348
}
4449
}
4550

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/handler/AzureToolkitErrorDialog.form

Lines changed: 0 additions & 54 deletions
This file was deleted.

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/handler/AzureToolkitErrorDialog.java

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)