[errorprone] MockSystemReader: fix CatchAndPrintStackTrace
See https://errorprone.info/bugpattern/CatchAndPrintStackTrace Change-Id: If1ec66ea65eaef9311a650d8a5741a03ac76cb88 Change-Id: Ic52205bab141a4e3c6a9fefecf749f1ccfc0e491
This commit is contained in:
parent
34fb4d487e
commit
8c42901b54
|
@ -302,7 +302,7 @@ private void resetOsNames() {
|
|||
field.setAccessible(true);
|
||||
field.set(null, null);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue