mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Added file name to exceptions when failing to read index state #16850
Closes #16713 Closes #16850
This commit is contained in:
parent
812f03a33f
commit
4602d8c0dc
@ -313,7 +313,7 @@ public abstract class MetaDataStateFormat<T> {
|
|||||||
}
|
}
|
||||||
return state;
|
return state;
|
||||||
} catch (Throwable e) {
|
} 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);
|
logger.debug("{}: failed to read [{}], ignoring...", e, pathAndStateId.file.toAbsolutePath(), prefix);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user