Skip to content

Commit

Permalink
Fix error message formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rschlussel committed Sep 23, 2020
1 parent da0d5c2 commit 6bb12b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ private void writeChunkToOutputStream(byte[] chunk, int offset, int length)
offset = 0;
// size after encryption should not exceed what the 3 byte header can hold (2^23)
if (length > 8388608) {
throw new OrcEncryptionException("Encrypted data size %s exceeds limit of 2^23 %s", length);
throw new OrcEncryptionException("Encrypted data size %s exceeds limit of 2^23", length);
}
}
int header = isCompressed ? length << 1 : (length << 1) + 1;
Expand Down

0 comments on commit 6bb12b6

Please sign in to comment.