Add more details when config is invalid