diff --git a/src/formats/standard_notes.py b/src/formats/standard_notes.py index 5c41614..db7d697 100644 --- a/src/formats/standard_notes.py +++ b/src/formats/standard_notes.py @@ -272,7 +272,11 @@ def convert(self, file_or_folder: Path): note_imf.body = item["content"]["text"] case "super": super_converter = SuperToMarkdown() - note_imf.body = super_converter.convert(item["content"]["text"]) + try: + note_imf.body = super_converter.convert(item["content"]["text"]) + except json.JSONDecodeError as e: + self.logger.warn(f"Skipping Super Note '{title}' due to JSON parse error: {e}"); + continue case _: note_imf.body = item["content"]["text"] self.logger.debug(