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
I tested reading file with WebAccess backend which was actually a directory and it gave me the following error:
(in promise) TypeError: Cannot read properties of undefined (reading 'close')
at _readFile (promises.js:471:20)
For example, calling readdir on a file gives the following error: ENOTDIR: File is not a directory
The text was updated successfully, but these errors were encountered:
dr-vortex
changed the title
readFile operations on directory should throw meaningful errorsreadFile on directory should throw meaningful errors
May 6, 2024
I tested reading file with WebAccess backend which was actually a directory and it gave me the following error:
(in promise) TypeError: Cannot read properties of undefined (reading 'close')
at _readFile (promises.js:471:20)
For example, calling readdir on a file gives the following error:
ENOTDIR: File is not a directory
The text was updated successfully, but these errors were encountered: