From a1c0a07507ba6556f5ab671a8b7321f2f340b1c6 Mon Sep 17 00:00:00 2001 From: FallBackITA27 Date: Thu, 11 Apr 2024 14:56:35 +0200 Subject: [PATCH] error logging --- mkwpp-parser/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkwpp-parser/script.js b/mkwpp-parser/script.js index 1ef1ac8..956d1d1 100644 --- a/mkwpp-parser/script.js +++ b/mkwpp-parser/script.js @@ -62,6 +62,8 @@ document.getElementById("readInput").addEventListener("click", async function() if (keywords.length > 4) { skipToNextSubmission = true; currentSubmission.skip = true; + currentSubmission.err = true; + currentSubmission.errString = "Cannot parse date"; }; for (let keyword of keywords.slice(1, keywords.length)) { let kw = keyword.replace(/,/g, "");