Update Pack200Utils.java

This commit is contained in:
Tungstend 2023-07-12 21:38:44 +08:00
parent f0b67b79f2
commit b45b0fe1cd
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ public class Pack200Utils {
Process process = processBuilder.command("./libunpack200.so", "-r", jarFile.getAbsolutePath(), jarFile.getAbsolutePath().replace(".pack", "")).start();
process.waitFor();
} catch (InterruptedException | IOException e) {
Logging.LOG.log(Level.WARNING, "Failed to unpack files in " + dir + " Error: " + e);
Logging.LOG.log(Level.WARNING, "Failed to unpack files in " + dir, e);
}
}
}
@ -43,7 +43,7 @@ public class Pack200Utils {
Process process = processBuilder.command("./libunpack200.so", "-r", in, out).start();
process.waitFor();
} catch (InterruptedException | IOException e) {
Logging.LOG.log(Level.WARNING, "Failed to unpack file: " + in + " Error: " + e);
Logging.LOG.log(Level.WARNING, "Failed to unpack file: " + in, e);
}
}