Improve error reporting in some cases with bad/poor config