Error handling in configurer.js