fuse-backend-rs icon indicating copy to clipboard operation
fuse-backend-rs copied to clipboard

Properly handle errors from the fuse device.

Open nrath-js opened this issue 1 year ago • 0 comments

At the moment, we are indiscriminately returning a SessionFailure("epoll error") if any of the registered file descriptors would return an error upon read. This means that the more detailed error handling code below can never be reached.

Instead, attempt to read from fuse device when the device is either readable or has an error state, and then handle the error as we always intended.

Fixes: #197.

nrath-js avatar Dec 04 '24 13:12 nrath-js