diff --git a/CHANGES.md b/CHANGES.md index bec5d253..de83e417 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,7 @@ - FIX: Fix (really) window's name coming from a vector with an underscore after it - FIX: Fix clean band path for Sentinel-3 SLSTR products +- FIX: Remove an ignored exception when deleting a Product (`ValueError: Unknown '__class__' name in 'covariance.compute' hyperparameters`) ## 0.21.5 (2024-10-17) diff --git a/eoreader/products/product.py b/eoreader/products/product.py index ccdeb42b..b9fe48e0 100644 --- a/eoreader/products/product.py +++ b/eoreader/products/product.py @@ -1862,7 +1862,7 @@ def clear(self): try: if isinstance(obj, functools._lru_cache_wrapper): objects.append(obj) - except ReferenceError: + except (ReferenceError, ValueError): pass # All objects cleared