Paste more datas when pasteing.

Need upload transaltions cause it may cause no-reasion disconnect if somethings wrong in there.


Former-commit-id: 1ccaff5e248962e83d09c389cd83be8183086f60 [formerly 4c77998bb57eaaf35dd92ee4ab4a08e3a93a7153]
Former-commit-id: 9c9064cdbd82f8171f4cd134be9320e9060f9f82
This commit is contained in:
Ghost_chu committed 2019-08-19 15:32:54 +08:00
1 parent 3c0f6cb322
commit fb8cbd569e
1 file changed
+16
@@ -108,9 +108,25 @@ public class Paste {
.inputStream2ByteArray(new File(new File(".", "logs"), "latest.log").getPath()))).append("\n");
finalReport.append("\t*********************************\n");
finalReport.append("\t*********************************\n");
finalReport.append("\titemi18n.yml:\n");
finalReport.append("\t\t\n").append(new String(Util
.inputStream2ByteArray(new File(new File(".", "logs"), "latest.log").getPath()))).append("\n");
finalReport.append("\t*********************************\n");
finalReport.append("\t*********************************\n");
finalReport.append("\tenchi18n.yml:\n");
finalReport.append("\t\t\n").append(new String(Util
.inputStream2ByteArray(new File(new File(".", "logs"), "latest.log").getPath()))).append("\n");
finalReport.append("\t*********************************\n");
finalReport.append("\t*********************************\n");
finalReport.append("\tpotioni18n.yml:\n");
finalReport.append("\t\t\n").append(new String(Util
.inputStream2ByteArray(new File(new File(".", "logs"), "latest.log").getPath()))).append("\n");
finalReport.append("\t*********************************\n");
finalReport.append("\t*********************************\n");
finalReport.append("\tInternal Debug Log:\n");
finalReport.append("\t\t\n").append(Util.list2String(Util.getDebugLogs()).replaceAll(",", "\n")).append("\n");
finalReport.append("\t*********************************\n");
} catch (Throwable th) {
finalReport.append("\tFailed to get data\n");
}