various becca migration fixes

This commit is contained in:
zadam
2021-05-11 22:00:16 +02:00
parent 5d58520949
commit 8417d4a4ea
9 changed files with 336 additions and 309 deletions

View File

@@ -49,10 +49,13 @@ async function resolveNotePathToSegments(notePath, hoistedNoteId = 'root', logEr
const parentNoteId = path[i++];
if (childNoteId !== null) {
const child = await froca.getNote(childNoteId);
const child = await froca.getNote(childNoteId, !logErrors);
if (!child) {
console.log(`Can't find note ${childNoteId}`);
if (logErrors) {
ws.logError(`Can't find note ${childNoteId}`);
}
return;
}