Skip to content

Commit

Permalink
fix: Output error log throws in runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesin11 committed Nov 19, 2020
1 parent 576c787 commit 16e80d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runner/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class CompositRunner implements Runner {
(result.status === 'fulfilled' && result.value.isFailure())
})
if (errorResults.length > 0) {
errorResults.forEach((error) => console.error(error))
return failure(new Error('Some runner throws error!!'))
}

Expand Down

0 comments on commit 16e80d3

Please sign in to comment.