Skip to content

Commit 85fa75f

Browse files
Merge pull request #5410 from microsoft/fix-message-preload
fix bug related to messager
2 parents 7ef9e25 + 86579d4 commit 85fa75f

File tree

1 file changed

+1
-0
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/src/main/java/com/microsoft/azure/toolkit/intellij/common/messager

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ private static String getErrorAction(@Nonnull Throwable throwable) {
175175
return ExceptionUtils.getThrowableList(throwable).stream()
176176
.filter(t -> t instanceof AzureToolkitRuntimeException || t instanceof AzureToolkitException)
177177
.map(t -> t instanceof AzureToolkitRuntimeException ? ((AzureToolkitRuntimeException) t).getAction() : ((AzureToolkitException) t).getAction())
178+
.filter(StringUtils::isNotBlank)
178179
.findFirst()
179180
.orElse(null);
180181
}

0 commit comments

Comments
 (0)