add debug
This commit is contained in:
parent
7107182d52
commit
84fe501886
1 changed files with 3 additions and 2 deletions
|
@ -303,8 +303,9 @@ class BackupImap:
|
||||||
cached_data['last_update'] + self.config['max_cache_age'] > time.time()
|
cached_data['last_update'] + self.config['max_cache_age'] > time.time()
|
||||||
):
|
):
|
||||||
self._log.debug(
|
self._log.debug(
|
||||||
"Cache file '%s' is too old, initializing cache data.",
|
"Data in cache file '%s' is too old (%s), initializing cache data.",
|
||||||
self.config['cache_file']
|
self.config['cache_file'],
|
||||||
|
cached_data['last_update']
|
||||||
)
|
)
|
||||||
cached_data = self._default_data
|
cached_data = self._default_data
|
||||||
except json.decoder.JSONDecodeError:
|
except json.decoder.JSONDecodeError:
|
||||||
|
|
Loading…
Reference in a new issue