Throw exception when config missing