We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 305d28b commit b6c7e2eCopy full SHA for b6c7e2e
src/services/notes.js
@@ -458,13 +458,18 @@ function findIncludeNoteLinks(content, foundLinks) {
458
}
459
460
function findRelationMapLinks(content, foundLinks) {
461
- const obj = JSON.parse(content);
+ try {
462
+ const obj = JSON.parse(content);
463
- for (const note of obj.notes) {
464
- foundLinks.push({
465
- name: 'relationMapLink',
466
- value: note.noteId
467
- });
+ for (const note of obj.notes) {
+ foundLinks.push({
+ name: 'relationMapLink',
+ value: note.noteId
468
+ });
469
+ }
470
471
+ catch (e) {
472
+ log.error("Could not scan for relation map links: " + e.message);
473
474
475
0 commit comments