console.log(utils.now(),`Did not find parent ${parentNoteId} (${parent?parent.title:'n/a'}) for child ${childNoteId} (${child.title}), available parents: ${parents.map(p=>`${p.noteId} (${p.title})`)}`);
}
constsomeNotePath=getSomeNotePath(parents[0]);
@ -113,7 +115,7 @@ function getSomeNotePath(note) {
constparents=cur.getParentNotes();
if(!parents.length){
console.error(`Can't find parents for note ${cur.noteId}`);
logError(`Can't find parents for note ${cur.noteId}`);
return;
}
@ -196,7 +198,7 @@ function getNoteIdAndParentIdFromNotePath(notePath) {