Improve configuration error messages