Skip to content

Commit

Permalink
fix(task-graph): fix error log output
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Sep 5, 2019
1 parent 86af1b3 commit 6329cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garden-service/src/tasks/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6329cd6

Please sign in to comment.