if(!foundChildNode){// note might be recently created so we'll force reload and try again
awaitparentNode.load(true);
if(!foundChildNode){
console.error(`Can't find node for child node of noteId=${childNoteId} for parent of noteId=${parentNode.data.noteId} and hoistedNoteId=${hoistedNoteId}`);
messagingService.logError(`Can't find node for child node of noteId=${childNoteId} for parent of noteId=${parentNode.data.noteId} and hoistedNoteId=${hoistedNoteId}, requested path is ${notePath}`);
return;
}
}
parentNode=foundChildNode;
@ -317,7 +328,8 @@ async function getSomeNotePath(note) {
constparents=awaitcur.getParentNotes();
if(!parents.length){
infoService.throwError("Can't find parents for "+cur);
infoService.throwError("Can't find parents for ",cur);