Log if a variable isn't found
This commit is contained in:
parent
60a1f14f6e
commit
992ee6056e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue