Exceptions (")
+ .append(errorList.length)
+ .append(")
\n");
+ }
+
+ // add the logs
+ for (int i = 0; i < errorList.length; i++) {
+ htmlErrorReport.append("Crash log ");
+ if (errorList.length > 1) {
+ htmlErrorReport.append(i + 1);
+ }
+ htmlErrorReport.append("")
+ .append("
\n")
+ .append("\n```\n").append(errorList[i]).append("\n```\n")
+ .append("
\n");
+ }
+
+ // make sure to close everything
+ if (errorList.length > 1) {
+ htmlErrorReport.append("
\n");
+ }
+ htmlErrorReport.append("