aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2019-07-25 16:55:07 -0400
committerAjay Ramachandran <[email protected]>2019-07-25 16:55:07 -0400
commitc8114e2d7ef6d9cfab904c75ebddec005959f4e7 (patch)
tree05b353828e1b6b993f4088eea0c7807e34605d13
parent0f561d4a5a18fbef1fbadb1559fced1786d47622 (diff)
downloadSponsorBlock-c8114e2d7ef6d9cfab904c75ebddec005959f4e7.tar.gz
SponsorBlock-c8114e2d7ef6d9cfab904c75ebddec005959f4e7.zip
Added better error display.
-rw-r--r--popup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/popup.js b/popup.js
index 98c2024f..cec46eb9 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";
}
}