more debugging info for problems after sync

This commit is contained in:
zadam
2019-12-10 21:31:24 +01:00
parent 6f32d6fabe
commit c48dbb0913
3 changed files with 11 additions and 1 deletions

View File

@@ -65,6 +65,11 @@ async function getIcon(note) {
async function prepareNode(branch) {
const note = await branch.getNote();
if (!note) {
console.log(`Branch has no note: ${branch}`);
}
const title = (branch.prefix ? (branch.prefix + " - ") : "") + note.title;
const hoistedNoteId = await hoistedNoteService.getHoistedNoteId();