try catch for config.js module