We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41e7159 commit 77a6fafCopy full SHA for 77a6faf
1 file changed
receptor/buffers/file.py
@@ -57,6 +57,10 @@ def _read_manifest(self):
57
return json.load(fp)
58
except FileNotFoundError:
59
return []
60
+ except json.decoder.JSONDecodeError:
61
+ with open(self._manifest_path, "r") as fp:
62
+ logger.error("failed to decode manifest: %s", fp.read())
63
+ raise
64
65
def _path_for_ident(self, ident):
66
return os.path.join(self._message_path, ident)
0 commit comments