Warn when the cache is corrupt
@@ -398,6 +398,7 @@ def get_sources(index):
except ValueError:
cache_fetch_failed = True
sources = None
+ log.warning('Source cache fetch failed due to corruption')
if type(sources) == list or cache_fetch_failed:
# Invalidate old provider format.
cache.delete(key=source_cache_name)
