From c8114e2d7ef6d9cfab904c75ebddec005959f4e7 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Thu, 25 Jul 2019 16:55:07 -0400 Subject: [PATCH] Added better error display. --- popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popup.js b/popup.js index 98c2024f7a..cec46eb9ea 100644 --- a/popup.js +++ b/popup.js @@ -352,7 +352,7 @@ function submitTimes() { document.getElementById("submitTimesInfoMessage").innerText = "This has already been submitted before"; document.getElementById("submitTimesInfoMessageContainer").style.display = "unset"; } else { - document.getElementById("submitTimesInfoMessage").innerText = "There was an error submitting your sponsor times, please try again later"; + document.getElementById("submitTimesInfoMessage").innerText = "There was an error submitting your sponsor times, please try again later. Error code " + response.statusCode; document.getElementById("submitTimesInfoMessageContainer").style.display = "unset"; } }