mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
log messages now contain script context if available
This commit is contained in:
@@ -293,7 +293,7 @@ function BackendScriptApi(currentNote, apiParams) {
|
||||
*
|
||||
* @param message
|
||||
*/
|
||||
this.log = message => log.info(`Script "${currentNote.title}" (${currentNote.noteId}): ${message}`);
|
||||
this.log = message => log.info(message);
|
||||
|
||||
/**
|
||||
* Returns root note of the calendar.
|
||||
|
||||
Reference in New Issue
Block a user