Skip to content

Commit a0be22c

Browse files
committed
bugfix: fix region issues on sql and mysql.
1 parent 817e31b commit a0be22c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/toolkit/intellij/sqlserver/common/SqlServerRegionValidator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public AzureValidationInfo apply(RegionComboBox comboBox) {
2727
return AzureValidationInfo.OK;
2828
}
2929
} catch (ManagementException e) {
30+
return AzureValidationInfo.builder().input(comboBox).message(e.getMessage()).type(AzureValidationInfo.Type.ERROR).build();
3031
}
3132
final AzureValidationInfo.AzureValidationInfoBuilder builder = AzureValidationInfo.builder();
3233
return builder.input(comboBox).message(REGION_UNAVAILABLE_MESSAGE).type(AzureValidationInfo.Type.ERROR).build();

0 commit comments

Comments
 (0)