Print error message to log when plugin loader fails to close JAR file

Change-Id: Ic113b7759e094bd18c8c68767d85a25044400cb4
This commit is contained in:
alex
2013-11-01 21:06:59 +04:00
parent 8f91bb36b2
commit c9a6e0847b

View File

@@ -32,6 +32,7 @@ class CleanupHandle {
try {
jarFile.close();
} catch (IOException err) {
PluginLoader.log.error("Cannot close " + jarFile.getName(), err);
}
if (!tmpFile.delete() && tmpFile.exists()) {
PluginLoader.log.warn("Cannot delete " + tmpFile.getAbsolutePath()