Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1346 from zooba/quote-exception
Adds triple-quotes around exception message so that copy-pasting into…
  • Loading branch information
zooba committed Jun 16, 2016
2 parents f6918d5 + 44f796f commit f51a6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/Product/VSCommon/Infrastructure/TaskDialog.cs
Expand Up @@ -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)) {
Expand Down

0 comments on commit f51a6f6

Please sign in to comment.