From 44f796f723ddf2b2b244d34fe50cbb4b5980e072 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Thu, 16 Jun 2016 14:53:09 -0700 Subject: [PATCH] Adds triple-quotes around exception message so that copy-pasting into github looks nicer. --- Python/Product/VSCommon/Infrastructure/TaskDialog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/Product/VSCommon/Infrastructure/TaskDialog.cs b/Python/Product/VSCommon/Infrastructure/TaskDialog.cs index 460102d700..1b833f3ec1 100644 --- a/Python/Product/VSCommon/Infrastructure/TaskDialog.cs +++ b/Python/Product/VSCommon/Infrastructure/TaskDialog.cs @@ -58,7 +58,7 @@ public sealed class TaskDialog { EnableHyperlinks = true, CollapsedControlText = "Show &details", ExpandedControlText = "Hide &details", - ExpandedInformation = exception.ToString() + ExpandedInformation = "```{0}{1}{0}```".FormatUI(Environment.NewLine, exception) }; td.Buttons.Add(TaskDialogButton.Close); if (!string.IsNullOrEmpty(issueTrackerUrl)) {