z-edit / zedit

An integrated development environment for Bethesda Plugin Files.
https://z-edit.github.io
MIT License
304 stars 56 forks source link

cacheDataFolders causes infinite loading screen if modsPath becomes invalid #248

Open matortheeternal opened 2 years ago

matortheeternal commented 2 years ago

If a user unmounts the drive modsPath is on, cacheDataFolders which calls findPlugins will attempt to use fh.getDirectories and fail with an exception, causing an infinite loading screen. Correct behavior should be to use the game data folder when the modsPath cannot be resolved and present an error message to the user.