diff --git a/packages/health-check/src/run.js b/packages/health-check/src/run.js index b1ccaaac..26f4c643 100644 --- a/packages/health-check/src/run.js +++ b/packages/health-check/src/run.js @@ -41,7 +41,7 @@ require("yargs/yargs")(process.argv.slice(2)).command( // exit with code 1 if any of the checks report failure if (entry.checks.some(({ up }) => !up)) { - console.log(entry.checks); + console.log(entry.checks.filter(({ up }) => !up)); process.exit(1); } }