[errorprone] Don't swallow exception

See https://errorprone.info/bugpattern/UnusedException

Change-Id: I01568dfa22adbbaa50191aa2d0a445a3c252b803
This commit is contained in:
Matthias Sohn 2023-09-22 13:25:21 +02:00
parent 298f93e989
commit f8d91c2736
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ final class PackReverseIndexV1 implements PackReverseIndex {
this.objectCount = Math.toIntExact(objectCount);
} catch (ArithmeticException e) {
throw new IllegalArgumentException(
JGitText.get().hugeIndexesAreNotSupportedByJgitYet);
JGitText.get().hugeIndexesAreNotSupportedByJgitYet, e);
}
this.inputStream = inputStream;