From 6329cd6618d893b001360595e928ea11ee95a486 Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Thu, 5 Sep 2019 21:07:03 +0200 Subject: [PATCH] fix(task-graph): fix error log output --- garden-service/src/tasks/test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/garden-service/src/tasks/test.ts b/garden-service/src/tasks/test.ts index d45fe0140d..f4b1c8d1c5 100644 --- a/garden-service/src/tasks/test.ts +++ b/garden-service/src/tasks/test.ts @@ -168,7 +168,7 @@ export class TestTask extends BaseTask { log.setSuccess({ msg: chalk.green(`Success (took ${log.getDuration(1)} sec)`), append: true }) } else { log.setError({ msg: chalk.red(`Failed! (took ${log.getDuration(1)} sec)`), append: true }) - throw new TestError(result.output) + throw new TestError(result.log) } return result