obsidian-writing-goals
obsidian-writing-goals copied to clipboard
Error logs when using the processFrontmatter API
I get many instances of this error, whenever I run my property processing script that uses processFrontmatter:
Uncaught (in promise) SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at WritingGoalsFile.loadJson (file.ts:15:21)
at async GoalHistoryHelper.loadHistory (history.ts:39:16)
at async GoalHistoryHelper.todaysGoalItem (history.ts:34:29)
at async GoalHistoryHelper.updateGoalForToday (history.ts:42:20)
at async GoalHelper.createGoal (goal-helper.ts:25:9)
at async GoalHelper.updateGoalsFromSettings (goal-helper.ts:86:26)
at async WritingGoals.loadNoteGoalData (plugin:writing-goals:22339:9)
at async eval (plugin:writing-goals:22217:13)
See screenshot: