better error reporting of errors processing config files