diff --git a/cwt-angular/config/helpers.js b/cwt-angular/config/helpers.js index 755ce1ba..ad646fa1 100644 --- a/cwt-angular/config/helpers.js +++ b/cwt-angular/config/helpers.js @@ -11,8 +11,8 @@ exports.requireEnv = function (pp) { let env; try { env = require('./env'); - } catch (_err) { - console.warn(`no env for ${p} falling back to env.default.js`); + } catch (err) { + console.warn(`no env for ${p} falling back to env.default.js`, err); env = require('./env.default'); } const resultRaw = { ...(env.common || {}), ...(env[p] || {}) };