Merge "[errorprone] Don't throw exception in finally"
This commit is contained in:
commit
078500ef1c
|
@ -844,7 +844,7 @@ private void detectSymlinkSupport() {
|
||||||
try {
|
try {
|
||||||
FileUtils.delete(tempFile);
|
FileUtils.delete(tempFile);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new RuntimeException(e); // panic
|
LOG.error(JGitText.get().cannotDeleteFile, tempFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue