chore(parser/healthcheck): output in code format on error
This commit is contained in:
parent
cda3faeb9a
commit
132a50833b
|
@ -21,7 +21,7 @@ func Parse(executorResult stage.ExecutorResult, conf Conf) (stage.ParserResult,
|
||||||
return stage.ParserResult{
|
return stage.ParserResult{
|
||||||
Score: 0,
|
Score: 0,
|
||||||
Comment: fmt.Sprintf(
|
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,
|
executorResult.Status, stdout, stderr,
|
||||||
),
|
),
|
||||||
}, true
|
}, true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user