mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
more debugging info for problems after sync
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user