From 6e0793dd2f6619c0daa7054bea5da9a16c0049f3 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 1 Feb 2021 17:44:30 -0800 Subject: [PATCH] campaigns: wrap the troubleshooting suggestion --- cmd/src/campaigns_common.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/src/campaigns_common.go b/cmd/src/campaigns_common.go index 37db18cbb6..a7d69f6615 100644 --- a/cmd/src/campaigns_common.go +++ b/cmd/src/campaigns_common.go @@ -385,7 +385,10 @@ func printExecutionError(out *output.Output, err error) { } out.Write("") - out.WriteLine(output.Line(output.EmojiLightbulb, output.StyleSuggestion, "The troubleshooting documentation can help to narrow down the cause of the errors: https://docs.sourcegraph.com/campaigns/references/troubleshooting")) + + block := out.Block(output.Line(output.EmojiLightbulb, output.StyleSuggestion, "The troubleshooting documentation can help to narrow down the cause of the errors:")) + block.WriteLine(output.Line("", output.StyleSuggestion, "https://docs.sourcegraph.com/campaigns/references/troubleshooting")) + block.Close() } func flattenErrs(err error) (result []error) {