From 132a50833b149888b797fad0863b3056daee3836 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Tue, 29 Oct 2024 17:04:27 -0400 Subject: [PATCH] chore(parser/healthcheck): output in code format on error --- internal/parser/healthcheck/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/parser/healthcheck/parser.go b/internal/parser/healthcheck/parser.go index a123294..0ebe1d3 100644 --- a/internal/parser/healthcheck/parser.go +++ b/internal/parser/healthcheck/parser.go @@ -21,7 +21,7 @@ func Parse(executorResult stage.ExecutorResult, conf Conf) (stage.ParserResult, return stage.ParserResult{ Score: 0, Comment: fmt.Sprintf( - "Unexpected executor status: %s.\nStdout: %s\nStderr: %s", + "Unexpected executor status: %s.\n`stdout`: ```%s\n```\n`stderr`: ```%s\n```", executorResult.Status, stdout, stderr, ), }, true