Instead log the problem. There is no reason to panic when we fail to delete a single temporary file in java.io.tmpdir. Change-Id: Idb867b3f07b090c7453ccd3688e94097df3b2672 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>tags/v5.6.0.201911271000-m3
@@ -844,7 +844,7 @@ public abstract class FS { | |||
try { | |||
FileUtils.delete(tempFile); | |||
} catch (IOException e) { | |||
throw new RuntimeException(e); // panic | |||
LOG.error(JGitText.get().cannotDeleteFile, tempFile); | |||
} | |||
} | |||
} |