Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle ErrorKind::Interruped in walk #420

Open
wezm opened this issue Jul 19, 2024 · 0 comments
Open

Handle ErrorKind::Interruped in walk #420

wezm opened this issue Jul 19, 2024 · 0 comments

Comments

@wezm
Copy link

wezm commented Jul 19, 2024

While scanning a hierarchy dust reported an ErrorKind::Interruped error.

EINTR

It appears this originates in:

editable_error.unknown_error.insert(failed.to_string());

As per the docs I think this error should be detected and the read_dir tried again.

There's also some guidance in the Read trait docs:

An error of the ErrorKind::Interrupted kind is non-fatal and the read operation should be retried if there is nothing else to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant