mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
improvements to error logging in frontend
This commit is contained in:
@@ -11,7 +11,7 @@ function getNotePathFromUrl(url) {
|
||||
|
||||
async function createNoteLink(notePath, options = {}) {
|
||||
if (!notePath || !notePath.trim()) {
|
||||
console.error("Missing note path");
|
||||
logError("Missing note path");
|
||||
|
||||
return $("<span>").text("[missing note]");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user