Settings.js: rephrased a log message

This commit is contained in:
muxator 2019-03-21 21:30:21 +01:00 committed by muxator
parent 21ac37170e
commit 59b1eed4a8

View file

@ -443,7 +443,7 @@ function lookupEnvironmentVariables(obj) {
const envVarValue = process.env[envVarName]; const envVarValue = process.env[envVarName];
if (envVarValue === undefined) { if (envVarValue === undefined) {
console.warn(`Configuration key ${key} tried to read its value from environment variable ${envVarName}, but no value was found. Returning null. Please check your configuration and environment settings.`); console.warn(`Environment variable "${envVarName}" does not contain any value for configuration key "${key}". Returning null. Please check your configuration and environment settings.`);
/* /*
* We have to return null, because if we just returned undefined, the * We have to return null, because if we just returned undefined, the