8.1 | A critical bug fix
This commit is contained in:
@@ -86,7 +86,10 @@ public class CreateReportLog {
|
||||
//File logToZip = new File(log);
|
||||
//zipOut.putNextEntry(new ZipEntry(logToZip.getName()));
|
||||
//Files.copy(logToZip.toPath(), zipOut);
|
||||
pluginToDebug("T2CodeLib", "T2CodeLib", zip);
|
||||
|
||||
addFileToZip("", "logs/latest.log", zip, false);
|
||||
|
||||
//pluginToDebug("T2CodeLib", "T2CodeLib", zip); todo bugfix
|
||||
pluginToDebug("T2C-LuckyBox", "T2C-LuckyBox", zip);
|
||||
pluginToDebug("WonderBagShop", "WonderBagShop", zip);
|
||||
pluginToDebug("CommandGUI", "CommandGUI", zip);
|
||||
@@ -98,7 +101,6 @@ public class CreateReportLog {
|
||||
pluginToDebug("LoreEditor", "LoreEditor", zip);
|
||||
pluginToDebug("Booster", "Booster", zip);
|
||||
pluginToDebug("AntiMapCopy", "AntiCopy", zip);
|
||||
addFileToZip("", "logs/latest.log", zip, false);
|
||||
zip.closeEntry();
|
||||
zip.close();
|
||||
} catch (IOException e) {
|
||||
@@ -166,7 +168,11 @@ public class CreateReportLog {
|
||||
}
|
||||
|
||||
while ((len = in.read(buf)) > 0) {
|
||||
zip.write(buf, 0, len);
|
||||
try {
|
||||
zip.write(buf, 0, len);
|
||||
} catch (Exception ex){
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user