Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
salt.loader: add error logging when whitelist lookup fails #47710
Rather than just raising a bare KeyError with no additional information, this raises a proper KeyError with the key that failed to be looked up. It also logs the key that failed to load, as well as the whitelist, to aid in troubleshooting.
Additionally, this resolves failed lazydict lookups in the tests due to improperly-set whitelists.
referenced this pull request
May 17, 2018
@terminalmage The dockermod tests are failing on this change. Can you take a look?