vrtmrz / obsidian-tagfolder

MIT License
221 stars 17 forks source link

Error in console Cannot read properties of null #22

Closed mnaoumov closed 2 years ago

mnaoumov commented 2 years ago

The following error occurs in the console quite often

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'tags')
    at eval (plugin:obsidian-tagfolder:2394:33)
    at Array.map (<anonymous>)
    at TagFolderPlugin.updateFileCaches (plugin:obsidian-tagfolder:2390:58)
    at TagFolderPlugin.eval (plugin:obsidian-tagfolder:2493:17)
    at Generator.next (<anonymous>)
    at eval (plugin:obsidian-tagfolder:46:61)
    at new Promise (<anonymous>)
    at __async (plugin:obsidian-tagfolder:30:10)
    at TagFolderPlugin.loadFileInfoAsync (plugin:obsidian-tagfolder:2481:12)
    at TagFolderPlugin.loadFileInfo (plugin:obsidian-tagfolder:2478:10)