From 992ee6056e78e75e0a190f714d5551a31501dfbd Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Mon, 6 Jul 2020 21:14:31 -0600 Subject: [PATCH] Log if a variable isn't found --- core/config_loader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/config_loader.js b/core/config_loader.js index 29c2ab58..47b3d4d4 100644 --- a/core/config_loader.js +++ b/core/config_loader.js @@ -161,7 +161,8 @@ module.exports = class ConfigLoader { let value = process.env[varName]; if (!value) { - return; + // console is about as good as we can do here + return console.info(`WARNING: environment variable "${varName}" from spec "${spec}" not found!`); } if ('array' === array) {