From: David Stainton Date: Thu, 21 Jan 2016 15:26:52 +0000 (+0100) Subject: Add filename to invalid metadata log message X-Git-Url: https://git.rkrishnan.org/simplejson/components/(%5B%5E?a=commitdiff_plain;h=dae387d28486c66f4b4ecec7ff386aca6a286b85;p=tahoe-lafs%2Ftahoe-lafs.git Add filename to invalid metadata log message --- diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index 35973b39..5775514c 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -634,7 +634,7 @@ class Downloader(QueueMixin, WriteFileMixin): file_node, metadata = listing_map[encoded_relpath_u] local_version = self._get_local_latest(relpath_u) if 'version' not in metadata: - self._log("invalid tahoe remote metadata detected") + self._log("invalid remote metadata detected for %r" % (relpath_u,)) continue else: remote_version = metadata['version']