Added file name to exceptions when failing to read index state #16850

Closes #16713
Closes #16850
This commit is contained in:
Boaz Leskes 2016-02-29 11:21:34 +01:00
parent 812f03a33f
commit 4602d8c0dc
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ public abstract class MetaDataStateFormat<T> {
}
return state;
} catch (Throwable e) {
exceptions.add(e);
exceptions.add(new IOException("failed to read " + pathAndStateId.toString(), e));
logger.debug("{}: failed to read [{}], ignoring...", e, pathAndStateId.file.toAbsolutePath(), prefix);
}
}