add debug

This commit is contained in:
Antonio J. Delgado 2025-03-27 10:48:12 +02:00
parent 7107182d52
commit 84fe501886

View file

@ -303,8 +303,9 @@ class BackupImap:
cached_data['last_update'] + self.config['max_cache_age'] > time.time()
):
self._log.debug(
"Cache file '%s' is too old, initializing cache data.",
self.config['cache_file']
"Data in cache file '%s' is too old (%s), initializing cache data.",
self.config['cache_file'],
cached_data['last_update']
)
cached_data = self._default_data
except json.decoder.JSONDecodeError: