Skip to content

Ignore errors that are likely due to filesystem corruption.

There is a specific POSIX error "EIO" which seems to be the "general purpose we don't know what went wrong but its probably bad" exception. Our investigations in #855 (closed) resulted in the conclusion that it is likely due to some sort of filesystem corruption or something like that.

Either way, it is annoying many people, so we need to prevent it or ignore it, rather than prompting the user to submit a bug report. After much investigation it was unable to be reproduced other than by one of the original bug reporters. As such, this change ignores it.

Unfortunately Java IOExceptions don't have an API for getting the errno of a POSIX IO error. Thus, this change results to parsing the exception message instead :(

Fixes #855 (closed).

Merge request reports