Add custom error handler for InitConfig(), squashing repetitive errors.
wei2912 encouraged me to implement this.