Skip to content

Commit

Permalink
fix: don't throw error when tab conflict is created
Browse files Browse the repository at this point in the history
  • Loading branch information
decaf-dev committed Feb 19, 2024
1 parent 57ee996 commit f053618
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@ export default class NoteSplitterPlugin extends Plugin {
console.error(err);
new Notice(`Error creating file: ${err.message}`);
}
continue;
}
throw err;
new Notice(`Error creating file: ${err.message}`);
console.log(err);
}
}
new Notice("Split into " + splitLines.length + " note" + (splitLines.length > 1 ? "s" : ""));
Expand Down

0 comments on commit f053618

Please sign in to comment.