Print error message to log when plugin loader fails to close JAR file
Change-Id: Ic113b7759e094bd18c8c68767d85a25044400cb4
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user