Skip to content

Commit f053618

Browse files
committed
fix: don't throw error when tab conflict is created
1 parent 57ee996 commit f053618

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ export default class NoteSplitterPlugin extends Plugin {
116116
console.error(err);
117117
new Notice(`Error creating file: ${err.message}`);
118118
}
119+
continue;
119120
}
120-
throw err;
121+
new Notice(`Error creating file: ${err.message}`);
122+
console.log(err);
121123
}
122124
}
123125
new Notice("Split into " + splitLines.length + " note" + (splitLines.length > 1 ? "s" : ""));

0 commit comments

Comments
 (0)