[execution]: show separated title/description for dialog execution error (IDEA-247948)
authorAnna Kozlova <anna.kozlova@jetbrains.com>
Thu, 13 Aug 2020 08:59:37 +0000 (10:59 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 13 Aug 2020 10:07:32 +0000 (10:07 +0000)
GitOrigin-RevId: 3bff466a87c4173b9ef901d67444585d4f7436c3

platform/lang-api/src/com/intellij/execution/runners/ExecutionUtil.java

index 259b761ffe8cf9ef184d1afdc6555c6bb9d790a6..2107c1a5d3ac11c30e5eed566d098cabdff036e9 100644 (file)
@@ -127,7 +127,7 @@ public final class ExecutionUtil {
         toolWindowManager.notifyByBalloon(toolWindowId, MessageType.ERROR, fullMessage, null, _listener);
       }
       else {
-        Messages.showErrorDialog(project, UIUtil.toHtml(fullMessage), "");
+        Messages.showErrorDialog(project, UIUtil.toHtml(_description), title);
       }
 
       NotificationListener notificationListener = _listener == null ? null : (notification, event) -> {