Make sure we intercept errors when reading configuration file.