Skip to content

Commit

Permalink
Fix misleading log message
Browse files Browse the repository at this point in the history
Fix DLQ error log message incorrectly referring to PQ.

Fixes elastic#11063
  • Loading branch information
robbavey committed Aug 20, 2019
1 parent 67abdfe commit 006bd48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public RecordIOReader(Path path) throws IOException {
if (versionInFile != VERSION) {
this.channel.close();
throw new RuntimeException(String.format(
"Invalid version on PQ data file %s. Expected version: %c. Version found on file: %c",
"Invalid version on DLQ data file %s. Expected version: %c. Version found on file: %c",
path, VERSION, versionInFile));
}
this.channelPosition = this.channel.position();
Expand Down

0 comments on commit 006bd48

Please sign in to comment.