From b646172fedf411ee2c6041a7ed543109f2c8e3fc Mon Sep 17 00:00:00 2001 From: FallBackITA27 Date: Thu, 11 Apr 2024 17:59:07 +0200 Subject: [PATCH] log out --- mkwpp-parser/script.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mkwpp-parser/script.js b/mkwpp-parser/script.js index 575e2df..a12c765 100644 --- a/mkwpp-parser/script.js +++ b/mkwpp-parser/script.js @@ -173,6 +173,16 @@ document.getElementById("readInput").addEventListener("click", async function() } data.submissions.push(currentSubmission); console.log("Finished"); + + for (let submission in data.submissions) { + if (submission.err || submission.skip) { + if (submission.err) { + writeToOutput("Error with submission: " + submission.errString); + } + } + writeToOutput("Name: "+submission.name); + writeToOutput("Date: "+submission.date); + } }); document.addEventListener("DOMContentLoaded", function() {