Skip to content

Commit

Permalink
Added file name to exceptions when failing to read index state elasti…
Browse files Browse the repository at this point in the history
  • Loading branch information
bleskes committed Feb 29, 2016
1 parent 812f03a commit 4602d8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ public T loadLatestState(ESLogger logger, Path... dataLocations) throws IOExcep
}
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);
}
}
Expand Down

0 comments on commit 4602d8c

Please sign in to comment.