void (@NotNull RuntimeException e) { if (e instanceof ProcessCanceledException) throw e; if (e.getCause() instanceof IOException || e.getCause() instanceof StorageException) { myIndexStorageBackend.markCorrupted(); myErrorHandler.handleError(VcsLogErrorHandler.Source.Index, e); } else { LOG.error("Unknown exception in Vcs Log index processing", e); throw new RuntimeException(e); } }