Skip to content
Snippets Groups Projects
Commit 326bd556 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: add hint on how to deal with outdated cache

parent 9be86a63
Branches
Tags
1 merge request!59FIX: if multiple updates for one entity exist, the retrieve would result in an...
Pipeline #29093 failed
......@@ -130,7 +130,8 @@ class AbstractCache(ABC):
raise RuntimeError(
"Cache is corrupt or was created with a future version of this program.")
elif current_schema < self.get_cache_schema_version():
raise RuntimeError("Cache version too old.")
raise RuntimeError("Cache version too old. Please remove the current cache file:\n"
+ self.db_file)
def get_cache_version(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment