diff options
-rw-r--r-- | paludis/repositories/e/ebuild_flat_metadata_cache.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild_flat_metadata_cache.cc b/paludis/repositories/e/ebuild_flat_metadata_cache.cc index 9030fc689..6402848a3 100644 --- a/paludis/repositories/e/ebuild_flat_metadata_cache.cc +++ b/paludis/repositories/e/ebuild_flat_metadata_cache.cc @@ -650,6 +650,13 @@ EbuildFlatMetadataCache::load(const std::shared_ptr<const EbuildID> & id, const { throw; } + catch (const DestringifyError & e) + { + Log::get_instance()->message("e.cache.failure", ll_warning, lc_no_context) << "Not using cache file at '" + << _imp->filename << "' due to destringify exception '" << e.message() << "' (" << e.what() << ")"; + + return false; + } catch (const Exception & e) { Log::get_instance()->message("e.cache.failure", ll_warning, lc_no_context) << "Not using cache file at '" |