From 00a3321009f2d4f9f56d1951072af8105a47295e Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 16 Jun 2021 12:07:51 +0200 Subject: [PATCH] log checks on failure --- packages/health-check/src/run.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/health-check/src/run.js b/packages/health-check/src/run.js index cfebfced..121f3cb7 100644 --- a/packages/health-check/src/run.js +++ b/packages/health-check/src/run.js @@ -41,6 +41,7 @@ require("yargs/yargs")(process.argv.slice(2)).command( // exit with code 1 if any of the checks report failure if (checks.some(({ up }) => !up)) { + console.log(checks); process.exit(1); } }