avoids crash on cache corruption
What does this PR do?
Avoids crash on cache corruption
What issues does this PR fix or reference?
Fixes: https://github.com/saltstack/salt/issues/60170
Previous Behavior
Hard crash
New Behavior
Error is logged at error level
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
- [ ] Docs
- [ ] Changelog - https://docs.saltproject.io/en/master/topics/development/changelog.html
- [ ] Tests written/updated
Commits signed with GPG?
Yes
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.
https://github.com/saltstack/salt/issues/33544
bump @cmcmarrow did you see my review?
Theres some test failures that need to be cleaned up
@cmcmarrow are you able to come back to this PR and fix the tests?
@waynew can you re-review this please