You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Setting JSONCacheDirectory on a directory that does not exists causes reader to fail silently
To Reproduce
Steps to reproduce the behavior:
Set JSONCacheDirectory to a directory that does not exist on the system
Run application and see that no data can be read
Expected behavior
Successful saving of json data in said directory with creation of directory if not existing
Additional context
C# has an inbuilt method for directory creation in DirectoryInfo.Exists and DirectoryInfo.Create()
Current way of solving this is to just manually check if the directory is created before even initializing the memory reader but this function should be implemented into the library as a safety since some people can get stuck if they try to modify this without realizing this issue exists.
The text was updated successfully, but these errors were encountered:
Describe the bug
Setting JSONCacheDirectory on a directory that does not exists causes reader to fail silently
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Successful saving of json data in said directory with creation of directory if not existing
Additional context
C# has an inbuilt method for directory creation in
DirectoryInfo.Exists
andDirectoryInfo.Create()
Current way of solving this is to just manually check if the directory is created before even initializing the memory reader but this function should be implemented into the library as a safety since some people can get stuck if they try to modify this without realizing this issue exists.
The text was updated successfully, but these errors were encountered: