[errorprone] MockSystemReader: fix CatchAndPrintStackTrace

See https://errorprone.info/bugpattern/CatchAndPrintStackTrace
Change-Id: If1ec66ea65eaef9311a650d8a5741a03ac76cb88

Change-Id: Ic52205bab141a4e3c6a9fefecf749f1ccfc0e491
This commit is contained in:
Matthias Sohn 2023-09-22 14:57:14 +02:00
parent 34fb4d487e
commit 8c42901b54
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ private void resetOsNames() {
field.setAccessible(true);
field.set(null, null);
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException(e);
}
}