Skip to content

Commit

Permalink
GH-278 Log error
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemke committed May 22, 2021
1 parent f6b5e20 commit 07ae340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cwt-angular/config/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] || {}) };
Expand Down

0 comments on commit 07ae340

Please sign in to comment.