diff --git a/helpers/caching/vae.py b/helpers/caching/vae.py index 52e433e7..a39aa11f 100644 --- a/helpers/caching/vae.py +++ b/helpers/caching/vae.py @@ -339,9 +339,8 @@ def clear_cache(self): try: future.result() except Exception as e: - logger.error(f"Error deleting file {filename}: {e}") - self.debug_log(f"Error traceback: {traceback.format_exc()}") - raise e + logger.debug(f"Error deleting file {filename}", e) + # Clear the StateTracker list of VAE objects: StateTracker.set_vae_cache_files([], data_backend_id=self.id)